MUC: Set active chatstate on messages
This commit is contained in:
parent
b6c43c9066
commit
8b7aae564b
1 changed files with 6 additions and 5 deletions
|
@ -166,6 +166,7 @@ class Chatstate:
|
||||||
if setting == 'disabled':
|
if setting == 'disabled':
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
if not contact.is_groupchat():
|
||||||
# Dont send chatstates to ourself
|
# Dont send chatstates to ourself
|
||||||
if self._con.get_own_jid().bareMatch(contact.jid):
|
if self._con.get_own_jid().bareMatch(contact.jid):
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Add table
Reference in a new issue