You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-02 21:22:41 +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