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;