~singpolyma/cheogram-android

2c156afbebce29cfc56e8270b057a82cbda173ff — Stephen Paul Weber a month ago 0d8314c
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.
1 files changed, 4 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 +4 -1
@@ 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")) {