Merge pull request #5121 from capilkey/update-air-2.1

Updates for the 2.1 AIR client
This commit is contained in:
Fred Dixon 2018-02-08 14:35:24 -05:00 committed by GitHub
commit 3fbb8e6910
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 5 deletions

View File

@ -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;

View File

@ -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;
}

View File

@ -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 {

View File

@ -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 {