You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Close dialog on redact
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@ -150,6 +150,7 @@ export default class MessageContextMenu extends React.Component {
|
||||
undefined,
|
||||
reason ? { reason } : {},
|
||||
);
|
||||
if (this.props.onCloseDialog) this.props.onCloseDialog();
|
||||
} catch (e) {
|
||||
const code = e.errcode || e.statusCode;
|
||||
// only show the dialog if failing for something other than a network error
|
||||
|
Reference in New Issue
Block a user