diff options
author | Erik Johnston <erik@matrix.org> | 2019-05-17 15:48:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-05-17 15:48:04 +0100 |
commit | 5dbff345094327e61fa9c1425ba0f955c9530ba7 (patch) | |
tree | 8cf587505698b71cf6a8c2f649eb6eb7c81a6135 /synapse/events/utils.py | |
parent | Add basic editing support (diff) | |
download | synapse-5dbff345094327e61fa9c1425ba0f955c9530ba7.tar.xz |
Fixup bsaed on review comments
Diffstat (limited to 'synapse/events/utils.py')
-rw-r--r-- | synapse/events/utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/events/utils.py b/synapse/events/utils.py index 2019ce9b1c..bf3c8f8dc1 100644 --- a/synapse/events/utils.py +++ b/synapse/events/utils.py @@ -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 |