mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 09:40:22 +00:00
Add m.room.member type to query
This commit is contained in:
parent
88a4d54883
commit
f6124311fd
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ class RoomMemberStore(SQLBaseStore):
|
||||||
" ON m.event_id = c.event_id "
|
" ON m.event_id = c.event_id "
|
||||||
" AND m.room_id = c.room_id "
|
" AND m.room_id = c.room_id "
|
||||||
" AND m.user_id = c.state_key"
|
" AND m.user_id = c.state_key"
|
||||||
" WHERE %(where)s"
|
" WHERE c.type = 'm.room.member' AND %(where)s"
|
||||||
) % {
|
) % {
|
||||||
"where": where_clause,
|
"where": where_clause,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue