mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-28 01:09:23 -05: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.
|
# Check if this was the last person to have left.
|
||||||
member_events = self._get_members_query_txn(
|
member_events = self._get_members_query_txn(
|
||||||
txn,
|
txn,
|
||||||
where_clause="c.room_id = ? AND m.membership = ?",
|
where_clause="c.room_id = ? AND m.membership = ? AND m.user_id != ?",
|
||||||
where_values=(event.room_id, Membership.JOIN,)
|
where_values=(event.room_id, Membership.JOIN, target_user_id,)
|
||||||
)
|
)
|
||||||
|
|
||||||
joined_domains = set()
|
joined_domains = set()
|
||||||
|
Loading…
Reference in New Issue
Block a user