Skip to content
Snippets Groups Projects
Commit 07d609cb authored by Emmanuel ROHEE's avatar Emmanuel ROHEE
Browse files

BF: Take into account MEMBER_EVENT and PRESENCE_EVENT events only after the initialSync is done

parent 0271e8e6
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment