diff options
author | Callum Brown <callum@calcuode.com> | 2021-05-27 18:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-27 18:42:23 +0100 |
commit | 8fb9af570f942d2057e8acb4a047d61ed7048f58 (patch) | |
tree | a2d6ddf916c755d288a9e5e4db2d0f511b2bd863 /synapse/storage/databases | |
parent | Limit the number of events sent over replication when persisting events. (#10... (diff) | |
download | synapse-8fb9af570f942d2057e8acb4a047d61ed7048f58.tar.xz |
Make reason and score optional for report_event (#10077)
Implements MSC2414: https://github.com/matrix-org/matrix-doc/pull/2414 See #8551 Signed-off-by: Callum Brown <callum@calcuode.com>
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/room.py b/synapse/storage/databases/main/room.py index 5f38634f48..0cf450f81d 100644 --- a/synapse/storage/databases/main/room.py +++ b/synapse/storage/databases/main/room.py @@ -1498,7 +1498,7 @@ class RoomStore(RoomBackgroundUpdateStore, RoomWorkerStore, SearchStore): room_id: str, event_id: str, user_id: str, - reason: str, + reason: Optional[str], content: JsonDict, received_ts: int, ) -> None: |