Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
60075aca by wurstsalat at 2025-08-03T13:09:51+02:00
fix: Group chat: Fix showing participant menu when real JID is unknown
Fixes #12410
- - - - -
1 changed file:
- gajim/gtk/menus.py
Changes:
=====================================
gajim/gtk/menus.py
=====================================
@@ -628,8 +628,11 @@ def get_groupchat_participant_menu(
disco = group_chat.get_disco()
assert disco is not None
muc_prefer_direct_msg = app.settings.get("muc_prefer_direct_msg")
- if disco.muc_is_nonanonymous and muc_prefer_direct_msg:
- assert contact.real_jid is not None
+ if (
+ disco.muc_is_nonanonymous
+ and muc_prefer_direct_msg
+ and contact.real_jid is not None
+ ):
dm_params = AddChatActionParams(
account=account, jid=contact.real_jid, type="chat", select=True
)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/60075aca54cf3c616d6c72d37e8d2103b8229b6c
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/60075aca54cf3c616d6c72d37e8d2103b8229b6c
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]