send chat states only to private and non-anon mucs

This commit is contained in:
Daniel Gultsch 2017-03-09 15:42:27 +01:00
parent 1fd3bbfe25
commit 0ee13bbecb

View File

@ -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) {