diff options
author | Erik Johnston <erik@matrix.org> | 2014-10-31 14:27:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-10-31 14:27:14 +0000 |
commit | 2f39dc19a26cca25305d10654916d7413a56a23a (patch) | |
tree | 46833964134f5e9d8bf022581a933735a15a4d80 /synapse/federation/pdu_codec.py | |
parent | Remove PDU tables. (diff) | |
download | synapse-2f39dc19a26cca25305d10654916d7413a56a23a.tar.xz |
Remove more references to dead PDU tables
Diffstat (limited to 'synapse/federation/pdu_codec.py')
-rw-r--r-- | synapse/federation/pdu_codec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/pdu_codec.py b/synapse/federation/pdu_codec.py index 6d31286290..d4c896e163 100644 --- a/synapse/federation/pdu_codec.py +++ b/synapse/federation/pdu_codec.py @@ -32,11 +32,11 @@ class PduCodec(object): self.hs = hs def encode_event_id(self, local, domain): - return EventID.create(local, domain, self.hs).to_string() + return local def decode_event_id(self, event_id): e_id = self.hs.parse_eventid(event_id) - return e_id.localpart, e_id.domain + return event_id, e_id.domain def event_from_pdu(self, pdu): kwargs = {} |