summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-10-06 11:41:57 -0400
committerGitHub <noreply@github.com>2023-10-06 11:41:57 -0400
commit06bbf1029cf2558213646d3b692621bed5178066 (patch)
tree481a2ddce7df9aa124661c9a582bc6efec1d3603 /synapse/federation
parentReturn ThumbnailInfo in more places (#16438) (diff)
downloadsynapse-06bbf1029cf2558213646d3b692621bed5178066.tar.xz
Convert simple_select_list_paginate_txn to return tuples. (#16433)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/send_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py
index 6520795635..525968bcba 100644
--- a/synapse/federation/send_queue.py
+++ b/synapse/federation/send_queue.py
@@ -395,7 +395,7 @@ class PresenceDestinationsRow(BaseFederationRow):
     @staticmethod
     def from_data(data: JsonDict) -> "PresenceDestinationsRow":
         return PresenceDestinationsRow(
-            state=UserPresenceState.from_dict(data["state"]), destinations=data["dests"]
+            state=UserPresenceState(**data["state"]), destinations=data["dests"]
         )
 
     def to_data(self) -> JsonDict: