mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-18 09:37:57 +00:00
Update synapse/handlers/admin.py
Co-authored-by: Eric Eastwood <erice@element.io>
This commit is contained in:
co-authored by
Eric Eastwood
parent
c9d8d9fdaf
commit
2f8fece6f0
@@ -492,7 +492,7 @@ class AdminHandler:
|
||||
"prev_state_events", None
|
||||
)
|
||||
assert prev_state_events is not None, (
|
||||
"Parent event of redaction has no `prev_state_events` which should be impossible as `prev_state_events` is a required event in MSC4242 rooms"
|
||||
"Parent event of redaction has no `prev_state_events` which should be impossible as `prev_state_events` is a required field in MSC4242 rooms"
|
||||
)
|
||||
# set the prev event to the offending message to allow for redactions
|
||||
# to be processed in the case where the user has been kicked/banned before
|
||||
|
||||
Reference in New Issue
Block a user