Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
be5318ee
by lovetox at 2022-05-02T20:21:27+02:00
1 changed file:
Changes:
| ... | ... | @@ -129,11 +129,14 @@ def _presence_received(self, |
| 129 | 129 | contact.notify('chatstate-update')
|
| 130 | 130 | |
| 131 | 131 | def _process_chatstate(self, _con, _stanza, properties):
|
| 132 | + if properties.type.is_error:
|
|
| 133 | + return
|
|
| 134 | + |
|
| 132 | 135 | if not properties.has_chatstate:
|
| 133 | 136 | return
|
| 134 | 137 | |
| 135 | 138 | if (properties.is_self_message or
|
| 136 | - properties.type.is_groupchat or
|
|
| 139 | + not properties.type.is_chat or
|
|
| 137 | 140 | properties.is_mam_message or
|
| 138 | 141 | properties.is_carbon_message and properties.carbon.is_sent):
|
| 139 | 142 | return
|