mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-16 00:03:49 +01:00
Removed historical code: recents does not need to manage presences. It is already done by initialSync in eventStreamService
This commit is contained in:
parent
967ac65586
commit
fd2d3fcfd7
1 changed files with 0 additions and 6 deletions
|
@ -112,12 +112,6 @@ angular.module('RecentsController', ['matrixService', 'matrixFilter', 'eventHand
|
||||||
$rootScope.rooms[room.room_id].numUsersInRoom = numUsersInRoom;
|
$rootScope.rooms[room.room_id].numUsersInRoom = numUsersInRoom;
|
||||||
}
|
}
|
||||||
|
|
||||||
var presence = initialSyncData.data.presence;
|
|
||||||
for (var i = 0; i < presence.length; ++i) {
|
|
||||||
eventHandlerService.handleEvent(presence[i], false);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// From now, update recents from the stream
|
// From now, update recents from the stream
|
||||||
listenToEventStream();
|
listenToEventStream();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue