Add m.room.member type to query

pull/1871/head
Erik Johnston 2017-02-01 11:59:17 +00:00
parent 88a4d54883
commit f6124311fd
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ class RoomMemberStore(SQLBaseStore):
" ON m.event_id = c.event_id "
" AND m.room_id = c.room_id "
" AND m.user_id = c.state_key"
" WHERE %(where)s"
" WHERE c.type = 'm.room.member' AND %(where)s"
) % {
"where": where_clause,
}