mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-28 22:48:35 -04:00
Remove more references to dead PDU tables
This commit is contained in:
parent
bfa36a72b9
commit
2f39dc19a2
4 changed files with 8 additions and 94 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue