Merge pull request #5121 from capilkey/update-air-2.1
Updates for the 2.1 AIR client
This commit is contained in:
commit
3fbb8e6910
@ -48,7 +48,8 @@
|
||||
participantIcon.visible = participantIcon.includeInLayout = false;
|
||||
} else {
|
||||
titleGroup.includeInLayout = titleGroup.visible = true;
|
||||
if (m.name == " ") {
|
||||
if (m.name == " " || m.name == "") {
|
||||
username.text = "";
|
||||
participantIcon.visible = participantIcon.includeInLayout = false;
|
||||
} else {
|
||||
username.text = m.name;
|
||||
|
@ -15,6 +15,7 @@ package org.bigbluebutton.lib.chat.views {
|
||||
|
||||
import robotlegs.bender.bundles.mvcs.Mediator;
|
||||
|
||||
import spark.components.VScrollBar;
|
||||
import spark.core.NavigationUnit;
|
||||
|
||||
public class ChatViewMediatorBase extends Mediator {
|
||||
@ -58,7 +59,10 @@ package org.bigbluebutton.lib.chat.views {
|
||||
protected function onNewMessage(chatId:String):void {
|
||||
if (_chat && _chat.chatId == chatId) {
|
||||
if (view) {
|
||||
view.chatList.scroller.verticalScrollBar.value = view.chatList.scroller.verticalScrollBar.maximum;
|
||||
var vScrollBar:VScrollBar = view.chatList.scroller.verticalScrollBar;
|
||||
if (vScrollBar) {
|
||||
vScrollBar.value = vScrollBar.maximum;
|
||||
}
|
||||
}
|
||||
_chat.newMessages = 0;
|
||||
}
|
||||
|
@ -112,8 +112,7 @@ package org.bigbluebutton.lib.video.services {
|
||||
|
||||
public function connect():void {
|
||||
trace("Video connect");
|
||||
trace("Don't connect to video yet because it needs to have auth token added");
|
||||
//baseConnection.connect(uri, conferenceParameters.meetingID, userSession.userId);
|
||||
baseConnection.connect(uri, conferenceParameters.meetingID, userSession.userId, conferenceParameters.authToken);
|
||||
}
|
||||
|
||||
public function disconnect(onUserCommand:Boolean):void {
|
||||
|
@ -104,7 +104,7 @@ package org.bigbluebutton.lib.voice.services {
|
||||
_listenOnly = listenOnly;
|
||||
_username = encodeURIComponent(confParams.internalUserID + "-bbbID-" + confParams.username);
|
||||
trace("Voice app connect");
|
||||
baseConnection.connect(_applicationURI, confParams.meetingID, confParams.externUserID, _username);
|
||||
baseConnection.connect(_applicationURI, confParams.meetingID, confParams.externUserID, _username, confParams.authToken);
|
||||
}
|
||||
|
||||
public function disconnect(onUserCommand:Boolean):void {
|
||||
|
Loading…
Reference in New Issue
Block a user