mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 02:10:55 +00:00
Fixed presence change that occurs -Xs ago
This commit is contained in:
parent
c9ee9b45c7
commit
26a95988da
1 changed files with 5 additions and 0 deletions
|
@ -337,6 +337,11 @@ angular.module('RoomController', ['ngSanitize', 'mFileInput'])
|
||||||
// Make sure the initialSync has been before going further
|
// Make sure the initialSync has been before going further
|
||||||
eventHandlerService.waitForInitialSyncCompletion().then(
|
eventHandlerService.waitForInitialSyncCompletion().then(
|
||||||
function() {
|
function() {
|
||||||
|
|
||||||
|
// Some data has been retrieved from the iniialSync request
|
||||||
|
// So, the relative time starts here
|
||||||
|
$scope.now = new Date().getTime();
|
||||||
|
|
||||||
var needsToJoin = true;
|
var needsToJoin = true;
|
||||||
|
|
||||||
// The room members is available in the data fetched by initialSync
|
// The room members is available in the data fetched by initialSync
|
||||||
|
|
Loading…
Reference in a new issue