mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Fixup bsaed on review comments
This commit is contained in:
parent
d46aab3fa8
commit
5dbff34509
3 changed files with 19 additions and 19 deletions
|
@ -368,9 +368,7 @@ class EventClientSerializer(object):
|
|||
|
||||
edit = None
|
||||
if event.type == EventTypes.Message:
|
||||
edit = yield self.store.get_applicable_edit(
|
||||
event.event_id, event.type, event.sender,
|
||||
)
|
||||
edit = yield self.store.get_applicable_edit(event_id)
|
||||
|
||||
if edit:
|
||||
# If there is an edit replace the content, preserving existing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue