mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 22:14:57 -04:00
Fix bug which prevented the number of users being visible on the recents view.
This commit is contained in:
parent
fd535183ee
commit
9b1ca64a75
3 changed files with 4 additions and 5 deletions
|
@ -540,13 +540,12 @@ function(matrixService, $rootScope, $q, $timeout, mPresence, notificationService
|
|||
|
||||
var room = modelService.getRoom(room_id);
|
||||
memberCount = 0;
|
||||
|
||||
for (var i in room.current_room_state.members) {
|
||||
if (!room.current_room_state.members.hasOwnProperty(i)) continue;
|
||||
|
||||
var member = room.current_room_state.members[i];
|
||||
|
||||
if ("join" === member.membership) {
|
||||
if ("join" === member.content.membership) {
|
||||
memberCount = memberCount + 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue