mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-17 08:44:03 +01:00
Fix query
This commit is contained in:
parent
828db669ec
commit
e75a779d9e
1 changed files with 1 additions and 1 deletions
|
@ -463,7 +463,7 @@ class DeviceStore(SQLBaseStore):
|
||||||
SELECT user_id FROM device_lists_stream WHERE stream_id > ?
|
SELECT user_id FROM device_lists_stream WHERE stream_id > ?
|
||||||
"""
|
"""
|
||||||
rows = yield self._execute("get_user_whose_devices_changed", None, sql, from_key)
|
rows = yield self._execute("get_user_whose_devices_changed", None, sql, from_key)
|
||||||
defer.returnValue(set(row["user_id"] for row in rows))
|
defer.returnValue(set(row[0] for row in rows))
|
||||||
|
|
||||||
def get_all_device_list_changes_for_remotes(self, from_key):
|
def get_all_device_list_changes_for_remotes(self, from_key):
|
||||||
"""Return a list of `(stream_id, user_id, destination)` which is the
|
"""Return a list of `(stream_id, user_id, destination)` which is the
|
||||||
|
|
Loading…
Reference in a new issue