mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-22 12:14:58 -05:00
Add brackets to make get room name / alias work
This commit is contained in:
parent
efac71d6ca
commit
69a75b7ebe
@ -402,8 +402,8 @@ class DataStore(RoomMemberStore, RoomStore,
|
|||||||
"redacted": del_sql,
|
"redacted": del_sql,
|
||||||
}
|
}
|
||||||
|
|
||||||
sql += " AND (s.type = 'm.room.name' AND s.state_key = '')"
|
sql += " AND ((s.type = 'm.room.name' AND s.state_key = '')"
|
||||||
sql += " OR s.type = 'm.room.aliases'"
|
sql += " OR s.type = 'm.room.aliases')"
|
||||||
args = (room_id,)
|
args = (room_id,)
|
||||||
|
|
||||||
results = yield self._execute_and_decode(sql, *args)
|
results = yield self._execute_and_decode(sql, *args)
|
||||||
|
Loading…
Reference in New Issue
Block a user