mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 19:14:55 -04:00
Swap from using raw m.room.member events for room members to using actual RoomMember objects, so User objects can be tacked on. Update tests.
This commit is contained in:
parent
d4c20c472b
commit
e3c3f5a6d0
9 changed files with 52 additions and 30 deletions
|
@ -25,6 +25,6 @@ describe('ModelService', function() {
|
|||
});
|
||||
|
||||
var user = modelService.getMember(roomId, userId);
|
||||
expect(user.state_key).toEqual(userId);
|
||||
expect(user.event.state_key).toEqual(userId);
|
||||
}));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue