mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-03-20 05:16:04 -04:00
client: Only send device update messages if there were changed devices.
This commit is contained in:
parent
f2415738f3
commit
6510bd7eb9
@ -334,7 +334,8 @@ class PanClient(AsyncClient):
|
||||
await self.history_fetch_queue.put(task)
|
||||
|
||||
async def keys_query_cb(self, response):
|
||||
await self.send_update_devices(response.changed)
|
||||
if response.changed:
|
||||
await self.send_update_devices(response.changed)
|
||||
|
||||
def undecrypted_event_cb(self, room, event):
|
||||
loop = asyncio.get_event_loop()
|
||||
|
Loading…
x
Reference in New Issue
Block a user