forked from MirrorHub/synapse
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue