summary refs log tree commit diff
path: root/webclient/room/room-controller.js
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 11:14:45 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-02 11:14:58 +0200
commit1bc05aef20492a6bf739e20328a75820e1e474ac (patch)
treed7e315a69358109fe621b335abc0fb4cd4abdb90 /webclient/room/room-controller.js
parentMake the intro bit a separate section rather than have a 'quick start' sectio... (diff)
downloadsynapse-1bc05aef20492a6bf739e20328a75820e1e474ac.tar.xz
BF: Armed updateMemberListPresenceAge only once
Diffstat (limited to '')
-rw-r--r--webclient/room/room-controller.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 472a4d2fae..d9ada744eb 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -382,8 +382,10 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
                 for (var i = 0; i < response.data.chunk.length; i++) {
                     var chunk = response.data.chunk[i];
                     updateMemberList(chunk);
-                    updateMemberListPresenceAge();
                 }
+
+                // Arm list timing update timer
+                updateMemberListPresenceAge();
             },
             function(error) {
                 $scope.feedback = "Failed get member list: " + error.data.error;