diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-10-06 11:41:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 11:41:57 -0400 |
commit | 06bbf1029cf2558213646d3b692621bed5178066 (patch) | |
tree | 481a2ddce7df9aa124661c9a582bc6efec1d3603 /synapse/federation | |
parent | Return ThumbnailInfo in more places (#16438) (diff) | |
download | synapse-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.py | 2 |
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: |