Don't warn about the effects of redacting state events when redacting non-state-events (#11071)
This commit is contained in:
parent
788c1c8f13
commit
3f52de2f5b
4 changed files with 14 additions and 6 deletions
|
@ -79,6 +79,7 @@ export default class EditHistoryMessage extends React.PureComponent<IProps, ISta
|
|||
Modal.createDialog(
|
||||
ConfirmAndWaitRedactDialog,
|
||||
{
|
||||
event,
|
||||
redact: async () => {
|
||||
await cli.redactEvent(event.getRoomId()!, event.getId()!);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue