mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-02-08 10:38:18 +01:00
also sync leave now that we can handle it
This commit is contained in:
parent
2e9ddf9c2c
commit
d289a44624
@ -331,8 +331,7 @@ export class Sync {
|
||||
_parseRoomsResponse(roomsSection, inviteStates, isInitialSync) {
|
||||
const roomStates = [];
|
||||
if (roomsSection) {
|
||||
// don't do "leave" for now
|
||||
const allMemberships = ["join"];
|
||||
const allMemberships = ["join", "leave"];
|
||||
for(const membership of allMemberships) {
|
||||
const membershipSection = roomsSection[membership];
|
||||
if (membershipSection) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user