mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-08 06:41:53 +00:00
Fix bug where we relied on the current_state_events being updated when we are handling type specific persistence
This commit is contained in:
parent
667e747ed1
commit
14975ce5bc
@ -66,8 +66,8 @@ class RoomMemberStore(SQLBaseStore):
|
||||
# Check if this was the last person to have left.
|
||||
member_events = self._get_members_query_txn(
|
||||
txn,
|
||||
where_clause="c.room_id = ? AND m.membership = ?",
|
||||
where_values=(event.room_id, Membership.JOIN,)
|
||||
where_clause="c.room_id = ? AND m.membership = ? AND m.user_id != ?",
|
||||
where_values=(event.room_id, Membership.JOIN, target_user_id,)
|
||||
)
|
||||
|
||||
joined_domains = set()
|
||||
|
Loading…
Reference in New Issue
Block a user