BF: Take into account MEMBER_EVENT and PRESENCE_EVENT events only after the initialSync is done
This commit is contained in:
parent
0271e8e692
commit
07d609cbc2
|
@ -75,11 +75,15 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
|
|||
});
|
||||
|
||||
$scope.$on(eventHandlerService.MEMBER_EVENT, function(ngEvent, event, isLive) {
|
||||
updateMemberList(event);
|
||||
if (isLive) {
|
||||
updateMemberList(event);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.$on(eventHandlerService.PRESENCE_EVENT, function(ngEvent, event, isLive) {
|
||||
updatePresence(event);
|
||||
if (isLive) {
|
||||
updatePresence(event);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.memberCount = function() {
|
||||
|
|
Loading…
Reference in New Issue