0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/sync/rooms/state: Only sync phased membership events for join rooms.

This commit is contained in:
Jason Volk 2019-08-03 22:09:24 -07:00
parent e099d7c52b
commit 1f08be2a0c

View file

@ -336,7 +336,9 @@ ircd::m::sync::room_state_phased_events(data &data)
}
};
ret |= room_state_phased_member_events(data, array);
if(data.membership == "join")
ret |= room_state_phased_member_events(data, array);
return ret;
}