~singpolyma/cheogram-android

76286afd0a53472a5f60be41b2689f41bcd30f36 — Stephen Paul Weber 2 months ago cc38d2a
Fix NPE
1 files changed, 2 insertions(+), 2 deletions(-)

M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java
M src/main/java/eu/siacs/conversations/ui/ConversationFragment.java => src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +2 -2
@@ 3643,8 3643,8 @@ public class ConversationFragment extends XmppFragment
                        || conversation.getMucOptions().participating();
        if (this.conversation.getStatus() != Conversation.STATUS_ARCHIVED
                && participating
                && this.conversation.setNextMessage(msg)) {
            this.activity.xmppConnectionService.updateConversation(this.conversation);
                && this.conversation.setNextMessage(msg) && activity != null) {
            activity.xmppConnectionService.updateConversation(this.conversation);
            return true;
        }
        return false;