Skip to content
Snippets Groups Projects
Commit 8c5f03ce authored by Erik Johnston's avatar Erik Johnston
Browse files

Revert to sending the same data type as before

parent f8434db5
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment