0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 23:11:34 +01:00

BF: Armed updateMemberListPresenceAge only once

This commit is contained in:
Emmanuel ROHEE 2014-09-02 11:14:45 +02:00
parent 772c117e68
commit 1bc05aef20

View file

@ -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;