From d963e8cd80d42c3a64802052fbf9df2e1617d1c5 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 21 Jun 2022 13:43:43 -0500 Subject: [PATCH] If we get send a form of type submit or cancel, ignore it These don't make any sense to send to us, but in practise biboumi does and expects us to ignore it. --- .../java/eu/siacs/conversations/entities/Conversation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Conversation.java b/src/main/java/eu/siacs/conversations/entities/Conversation.java index 8a09d45fc4875987b234e80a6e88f0dcb79f6aa7..3934a6d97f7658d75d1800759516bc034f423d40 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -1755,7 +1755,10 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl mTitle = title; ConversationPagerAdapter.this.notifyDataSetChanged(); } - this.responseElement = el; + + if (el.getAttribute("type").equals("result") || el.getAttribute("type").equals("form")) { + this.responseElement = el; + } break; } if (el.getName().equals("x") && el.getNamespace().equals("jabber:x:oob")) {