We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d69c00b commit 7c2284bCopy full SHA for 7c2284b
changelog.d/18029.bugfix
@@ -0,0 +1 @@
1
+Fix a bug preventing the admin redaction endpoint from working on messages from remote users.
synapse/handlers/admin.py
@@ -473,7 +473,7 @@ async def _redact_all_events(
473
"type": EventTypes.Redaction,
474
"content": {"reason": reason} if reason else {},
475
"room_id": room,
476
- "sender": user_id,
+ "sender": requester.user.to_string(),
477
}
478
if room_version.updated_redaction_rules:
479
event_dict["content"]["redacts"] = event.event_id
0 commit comments