Philipp Hörist pushed to branch master at gajim / gajim
Commits:
6781ec1b by lovetox at 2022-05-03T00:17:01+02:00
chore: Fix missing return
- - - - -
1 changed file:
- gajim/common/modules/mam.py
Changes:
=====================================
gajim/common/modules/mam.py
=====================================
@@ -133,6 +133,7 @@ def _get_stanza_id(properties, archive_jid):
for stanza_id in properties.stanza_ids:
if stanza_id.by == archive_jid:
return stanza_id
+ return None
def _set_message_archive_info(self, _con, _stanza, properties):
if (properties.is_mam_message or
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6781ec1b7fa05d674a840ffdd8fdfe85…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/6781ec1b7fa05d674a840ffdd8fdfe85…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
af0778f3 by lovetox at 2022-05-03T00:08:25+02:00
chore: Add newline
- - - - -
1 changed file:
- nbxmpp/modules/message.py
Changes:
=====================================
nbxmpp/modules/message.py
=====================================
@@ -117,4 +117,4 @@ class BaseMessage(BaseModule):
stanza_ids.append(StanzaIDData(id=id_, by=by))
- return stanza_ids
\ No newline at end of file
+ return stanza_ids
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/af0778f3b00532412b8247e0…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/af0778f3b00532412b8247e0…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
e8a8484a by wurstsalat at 2022-05-02T21:31:41+02:00
fix: Preview: Improve behavior in public group chats
- - - - -
1 changed file:
- gajim/gtk/preview.py
Changes:
=====================================
gajim/gtk/preview.py
=====================================
@@ -134,6 +134,7 @@ def update(self, preview: Preview, data: Optional[GdkPixbufType]) -> None:
self._ui.download_button.hide()
self._ui.open_folder_button.show()
self._ui.save_as_button.show()
+ self._ui.link_button.hide()
if (preview.orig_path is not None and preview.is_audio and
app.is_installed('GST') and
contains_audio_streams(preview.orig_path)):
@@ -154,6 +155,7 @@ def update(self, preview: Preview, data: Optional[GdkPixbufType]) -> None:
image = Gtk.Image.new_from_icon_name(
'dialog-question', Gtk.IconSize.DIALOG)
self._ui.icon_button.set_image(image)
+ self._ui.download_button.show()
file_size_string = _('Automatic preview disabled')
self._ui.file_size.set_text(file_size_string)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e8a8484a65325acc1c4ab836d4bf0b42…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e8a8484a65325acc1c4ab836d4bf0b42…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
be5318ee by lovetox at 2022-05-02T20:21:27+02:00
fix: Chatstates: Ignore non chat messages
- - - - -
1 changed file:
- gajim/common/modules/chatstates.py
Changes:
=====================================
gajim/common/modules/chatstates.py
=====================================
@@ -129,11 +129,14 @@ def _presence_received(self,
contact.notify('chatstate-update')
def _process_chatstate(self, _con, _stanza, properties):
+ if properties.type.is_error:
+ return
+
if not properties.has_chatstate:
return
if (properties.is_self_message or
- properties.type.is_groupchat or
+ not properties.type.is_chat or
properties.is_mam_message or
properties.is_carbon_message and properties.carbon.is_sent):
return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/be5318ee7f7bd1bf7eb8eef71b0921c9…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/be5318ee7f7bd1bf7eb8eef71b0921c9…
You're receiving this email because of your account on dev.gajim.org.