From 0ee13bbecb85ecdf1023c075213afca779b0f652 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 9 Mar 2017 15:42:27 +0100 Subject: [PATCH] send chat states only to private and non-anon mucs --- src/main/java/eu/siacs/conversations/entities/Conversation.java | 2 +- 1 file changed, 1 insertion(+), 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 24f2a2ed7..35fc913da 100644 --- a/src/main/java/eu/siacs/conversations/entities/Conversation.java +++ b/src/main/java/eu/siacs/conversations/entities/Conversation.java @@ -193,7 +193,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl } public boolean setOutgoingChatState(ChatState state) { - if (mode == MODE_MULTI && getNextCounterpart() != null) { + if (mode == MODE_MULTI && (getNextCounterpart() != null || !isPnNA())) { return false; } if (this.mOutgoingChatState != state) {