Skip to content

Commit

Permalink
fixed the chat history in the flash library
Browse files Browse the repository at this point in the history
  • Loading branch information
capilkey committed May 21, 2015
1 parent e277900 commit 356db13
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ package org.bigbluebutton.lib.chat.services {
}

private function handleChatRequestMessageHistoryReply(message:Object):void {
var msgCount:Number = message.count as Number;
for (var i:int = 0; i < msgCount; i++) {
handleChatReceivePublicMessageCommand(message.messages[i]);
trace(LOG + "Handling chat history message [" + message.msg + "]");
var chats:Array = JSON.parse(message.msg) as Array;

for (var i:int = 0; i < chats.length; i++) {
handleChatReceivePublicMessageCommand(chats[i]);
}
}

Expand Down

0 comments on commit 356db13

Please sign in to comment.