Are you sure you want to redact all currently loaded timeline events
+ of {userID}
? This will remove approximately {evtCount} events.>}
+ placeholder="Reason (optional)"
+ confirmButton={`Redact ~${evtCount} events`}
+ onConfirm={callback}
+ />,
+ })
+ }
+ }
const membership = member?.content.membership || "leave"
return
@@ -111,6 +172,12 @@ const UserModeration = ({ userID, client, member, room }: UserModerationProps) =
Unban
)}
+ {room && hasPL("redact") && (
+
+ )}
}