mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
Merge branch 'withoutYAML' into develop
This commit is contained in:
commit
027857b261
1 changed files with 6 additions and 2 deletions
|
@ -75,11 +75,15 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.$on(eventHandlerService.MEMBER_EVENT, function(ngEvent, event, isLive) {
|
$scope.$on(eventHandlerService.MEMBER_EVENT, function(ngEvent, event, isLive) {
|
||||||
|
if (isLive) {
|
||||||
updateMemberList(event);
|
updateMemberList(event);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.$on(eventHandlerService.PRESENCE_EVENT, function(ngEvent, event, isLive) {
|
$scope.$on(eventHandlerService.PRESENCE_EVENT, function(ngEvent, event, isLive) {
|
||||||
|
if (isLive) {
|
||||||
updatePresence(event);
|
updatePresence(event);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.memberCount = function() {
|
$scope.memberCount = function() {
|
||||||
|
|
Loading…
Reference in a new issue