Fixed presence change that occurs -Xs ago

This commit is contained in:
Emmanuel ROHEE 2014-09-01 16:27:11 +02:00
parent c9ee9b45c7
commit 26a95988da

View File

@ -337,6 +337,11 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
// Make sure the initialSync has been before going further
eventHandlerService.waitForInitialSyncCompletion().then(
function() {
// Some data has been retrieved from the iniialSync request
// So, the relative time starts here
$scope.now = new Date().getTime();
var needsToJoin = true;
// The room members is available in the data fetched by initialSync