summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-31 14:27:14 +0000
committerErik Johnston <erik@matrix.org>2014-10-31 14:27:14 +0000
commit2f39dc19a26cca25305d10654916d7413a56a23a (patch)
tree46833964134f5e9d8bf022581a933735a15a4d80 /synapse/federation
parentRemove PDU tables. (diff)
downloadsynapse-2f39dc19a26cca25305d10654916d7413a56a23a.tar.xz
Remove more references to dead PDU tables
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/pdu_codec.py4
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 = {}