forked from mystiq/hydrogen-web
also sync leave now that we can handle it
This commit is contained in:
parent
2e9ddf9c2c
commit
d289a44624
1 changed files with 1 additions and 2 deletions
|
@ -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…
Reference in a new issue