Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
8b7aae56
by Philipp Hörist at 2018-10-03T07:56:56Z
1 changed file:
Changes:
| ... | ... | @@ -166,12 +166,13 @@ class Chatstate: |
| 166 | 166 |
if setting == 'disabled':
|
| 167 | 167 |
return None
|
| 168 | 168 |
|
| 169 |
- # Dont send chatstates to ourself
|
|
| 170 |
- if self._con.get_own_jid().bareMatch(contact.jid):
|
|
| 171 |
- return None
|
|
| 169 |
+ if not contact.is_groupchat():
|
|
| 170 |
+ # Dont send chatstates to ourself
|
|
| 171 |
+ if self._con.get_own_jid().bareMatch(contact.jid):
|
|
| 172 |
+ return None
|
|
| 172 | 173 |
|
| 173 |
- if not contact.supports(nbxmpp.NS_CHATSTATES):
|
|
| 174 |
- return None
|
|
| 174 |
+ if not contact.supports(nbxmpp.NS_CHATSTATES):
|
|
| 175 |
+ return None
|
|
| 175 | 176 |
|
| 176 | 177 |
self.set_active(contact.jid)
|
| 177 | 178 |
return 'active'
|