mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
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) {
|
||||
if (isLive) {
|
||||
updateMemberList(event);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.$on(eventHandlerService.PRESENCE_EVENT, function(ngEvent, event, isLive) {
|
||||
if (isLive) {
|
||||
updatePresence(event);
|
||||
}
|
||||
});
|
||||
|
||||
$scope.memberCount = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user