MUC: Set active chatstate on messages

This commit is contained in:
Philipp Hörist 2018-10-03 09:56:56 +02:00
parent b6c43c9066
commit 8b7aae564b
1 changed files with 6 additions and 5 deletions

View File

@ -166,6 +166,7 @@ class Chatstate:
if setting == 'disabled':
return None
if not contact.is_groupchat():
# Dont send chatstates to ourself
if self._con.get_own_jid().bareMatch(contact.jid):
return None