diff options
author | Erik Johnston <erik@matrix.org> | 2017-04-10 10:07:18 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-04-10 10:07:18 +0100 |
commit | 8c5f03cec746a1414eab3a052b583d9053086d87 (patch) | |
tree | c051334f1d1210c70b2ba078dff297599bda9673 /synapse/federation | |
parent | Change name (diff) | |
download | synapse-8c5f03cec746a1414eab3a052b583d9053086d87.tar.xz |
Revert to sending the same data type as before
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/send_queue.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py index df807e57a6..95fd20e434 100644 --- a/synapse/federation/send_queue.py +++ b/synapse/federation/send_queue.py @@ -447,10 +447,10 @@ class DeviceRow(BaseFederationRow, namedtuple("DeviceRow", ( @staticmethod def from_data(data): - return DeviceRow(destination=data) + return DeviceRow(destination=data["destination"]) def to_data(self): - return self.destination + return {"destination": self.destination} def add_to_buffer(self, buff): buff.device_destinations.add(self.destination) |