fix for initial unread chat notification
This commit is contained in:
parent
139cdd9b0f
commit
78fa8d4412
@ -193,11 +193,14 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
privateNotification(event);
|
privateNotification(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function notifyUserOfNewMessage(userID:String):void {
|
private function notifyUserOfNewMessage(userID:String):void {
|
||||||
if (! isChatBoxCurrentlySelected(userID)) {
|
var newChatNotificationTimer:Timer = new Timer(100, 1);
|
||||||
notifyParticipantOfUnreadMessageFrom(userID);
|
newChatNotificationTimer.addEventListener(TimerEvent.TIMER, function(e:Event):void {
|
||||||
}
|
if (! isChatBoxCurrentlySelected(userID)) {
|
||||||
}
|
notifyParticipantOfUnreadMessageFrom(userID);
|
||||||
|
}});
|
||||||
|
newChatNotificationTimer.start();
|
||||||
|
}
|
||||||
|
|
||||||
private function mouseLeave(event:Event):void{
|
private function mouseLeave(event:Event):void{
|
||||||
this.focus = false;
|
this.focus = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user