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) {
|
_parseRoomsResponse(roomsSection, inviteStates, isInitialSync) {
|
||||||
const roomStates = [];
|
const roomStates = [];
|
||||||
if (roomsSection) {
|
if (roomsSection) {
|
||||||
// don't do "leave" for now
|
const allMemberships = ["join", "leave"];
|
||||||
const allMemberships = ["join"];
|
|
||||||
for(const membership of allMemberships) {
|
for(const membership of allMemberships) {
|
||||||
const membershipSection = roomsSection[membership];
|
const membershipSection = roomsSection[membership];
|
||||||
if (membershipSection) {
|
if (membershipSection) {
|
||||||
|
|
Loading…
Reference in a new issue