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:
parent
e099d7c52b
commit
1f08be2a0c
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue