~singpolyma/cheogram-android

3ec7678530e5839b963cecac4aeb93daeab2b175 — Stephen Paul Weber 1 year, 2 months ago e8e3c7f
Allow cancel even if webpage is broken
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/entities/Conversation.java
M src/main/java/eu/siacs/conversations/entities/Conversation.java => src/main/java/eu/siacs/conversations/entities/Conversation.java +1 -1
@@ 2636,7 2636,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl
                String status = command.getAttribute("status");
                if (status == null || (!status.equals("executing") && !action.equals("prev"))) return true;

                if (actionToWebview != null) {
                if (actionToWebview != null && !action.equals("cancel")) {
                    actionToWebview.postWebMessage(new WebMessage("xmpp_xep0050/" + action), Uri.parse("*"));
                    return false;
                }