Philipp Hörist pushed to branch master at gajim / gajim
Commits:
508a0604 by lovetox at 2021-02-28T11:01:55+01:00
Use bare_match()
bareMatch() is deprecated
- - - - -
1 changed file:
- gajim/common/modules/chat_markers.py
Changes:
=====================================
gajim/common/modules/chat_markers.py
=====================================
@@ -61,7 +61,7 @@ def _process_chat_marker(self, _con, _stanza, properties):
return
if properties.is_mam_message:
- if properties.from_.bareMatch(self._con.get_own_jid()):
+ if properties.from_.bare_match(self._con.get_own_jid()):
return
self._raise_event('displayed-received', properties)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/508a0604d815604363adef761ee5a01a…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/508a0604d815604363adef761ee5a01a…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
97080f7a by lovetox at 2021-02-27T12:16:09+01:00
UserAvatar: Handle empty data nodes
- - - - -
1 changed file:
- gajim/common/modules/user_avatar.py
Changes:
=====================================
gajim/common/modules/user_avatar.py
=====================================
@@ -71,6 +71,11 @@ def _request_avatar_data(self, jid, avatar_info):
avatar = yield self._nbxmpp('UserAvatar').request_avatar_data(
avatar_info.id, jid=jid)
+ if avatar is None:
+ self._log.warning('%s advertised %s but data node is empty',
+ jid, avatar_info.id)
+ return
+
if is_error(avatar):
self._log.warning(avatar)
return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/97080f7a346d4b9ad0e6c4112e8995d9…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/97080f7a346d4b9ad0e6c4112e8995d9…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch mainwindow at gajim / gajim
Commits:
7a8aefd2 by lovetox at 2021-02-27T11:46:46+01:00
Fix receipt processing
- - - - -
1 changed file:
- gajim/common/modules/receipts.py
Changes:
=====================================
gajim/common/modules/receipts.py
=====================================
@@ -65,7 +65,7 @@ def _process_message_receipt(self, _con, stanza, properties):
if not properties.is_encrypted:
return
- if not self._should_answer(properties.jid):
+ if not self._should_answer(properties):
return
self._log.info('Send receipt: %s', properties.jid)
self._con.connection.send(build_receipt(stanza))
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7a8aefd26d3952a24a65ebf1a5096f65…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/7a8aefd26d3952a24a65ebf1a5096f65…
You're receiving this email because of your account on dev.gajim.org.