mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-06 14:55:05 -04:00
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>
This commit is contained in:
parent
f828a70be3
commit
8fb9af570f
6 changed files with 105 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue