Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
688639bf by wurstsalat at 2023-05-23T21:40:29+02:00
cfix: ChatBanner: Fix text for contacts
- - - - -
1 changed file:
- gajim/gtk/chat_banner.py
Changes:
=====================================
gajim/gtk/chat_banner.py
=====================================
@@ -347,7 +347,7 @@ def _on_share_clicked(self, _button: Gtk.Button) -> None:
if self._contact.is_groupchat:
share_text = _('Scan this QR code to join %s.')
else:
- share_text = _('Scan this QR code to add %s to your contact list.')
+ share_text = _('Scan this QR code to start a chat with %s.')
self._ui.share_instructions.set_text(share_text % self._contact.name)
# Generate QR code on demand (i.e. not when switching chats)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/688639bf76087e72dc4073287a677917…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/688639bf76087e72dc4073287a677917…
You're receiving this email because of your account on dev.gajim.org.
Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
e73d1334 by wurstsalat at 2023-05-22T22:09:58+02:00
fix: Fix encryption deadlock with changed MUC configurations
This disables encryption if MUC configuration changed and encryption is not applicable anymore
Fixes #11421
- - - - -
1 changed file:
- gajim/gtk/message_actions_box.py
Changes:
=====================================
gajim/gtk/message_actions_box.py
=====================================
@@ -318,6 +318,12 @@ def _update_encryption_button(self) -> None:
'Encryption is not available.')
icon_name = 'channel-insecure-symbolic'
+ # Disable encryption if chat was encrypted before, but due to
+ # changed circumstances, encryption is not applicable anymore
+ # (i.e. group chat configuration changed).
+ contact.settings.set('encryption', '')
+ action.set_state(GLib.Variant('s', ''))
+
self._ui.encryption_menu_button.set_sensitive(sensitive)
self._ui.encryption_menu_button.set_tooltip_text(tooltip)
self._ui.encryption_image.set_from_icon_name(
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e73d13344232457f0fad3cc09a46940b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e73d13344232457f0fad3cc09a46940b…
You're receiving this email because of your account on dev.gajim.org.