Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
cd21fb0e by wurstsalat at 2022-08-12T16:38:05+02:00
fix: ChatBanner: Don’t show phone icon for group chats
- - - - -
1 changed file:
- gajim/gtk/chat_banner.py
Changes:
=====================================
gajim/gtk/chat_banner.py
=====================================
@@ -243,7 +243,7 @@ def _on_message_received(self, event: MessageReceived) ->
None:
if kind == 'outgoing':
return
- if event.resource is not None:
+ if event.resource is not None and not self._contact.is_groupchat:
resource_contact = self._contact.get_resource(event.resource)
self._ui.phone_image.set_visible(resource_contact.is_phone)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/cd21fb0e7a3485acdd14185bd4cd559756f4405e
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/cd21fb0e7a3485acdd14185bd4cd559756f4405e
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits