From 629b7768201014308d5388734ba90aa424efdfc5 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Tue, 4 Jun 2019 16:11:49 +0200 Subject: [PATCH] clarify why we dont need dialog on network error --- src/components/views/context_menus/MessageContextMenu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/views/context_menus/MessageContextMenu.js b/src/components/views/context_menus/MessageContextMenu.js index b50b7a1f83..02caa99295 100644 --- a/src/components/views/context_menus/MessageContextMenu.js +++ b/src/components/views/context_menus/MessageContextMenu.js @@ -131,7 +131,8 @@ module.exports = React.createClass({ } catch (e) { const code = e.errcode || e.statusCode; // only show the dialog if failing for something other than a network error - // (e.g. no errcode or statusCode) + // (e.g. no errcode or statusCode) as that case the redaction end up in the + // detached queue and we show the room status bar to allow retry if (typeof code !== "undefined") { const ErrorDialog = sdk.getComponent("dialogs.ErrorDialog"); // display error message stating you couldn't delete this.