Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
d997efc1 by wurstsalat at 2024-11-17T20:36:39+01:00
cfix: GroupchatRoster: Don't show context menu for self
- - - - -
1 changed file:
- gajim/gtk/groupchat_roster.py
Changes:
=====================================
gajim/gtk/groupchat_roster.py
=====================================
@@ -536,10 +536,10 @@ def _popup_menu(
assert self._contact is not None
participant = self._contact
if participant.is_self:
- self_contact = participant
- else:
- self_contact = participant.room.get_self()
- assert self_contact is not None
+ return Gdk.EVENT_STOP
+
+ self_contact = participant.room.get_self()
+ assert self_contact is not None
menu = get_groupchat_participant_menu(
participant.account, self_contact, participant
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d997efc179c803ed1b88b962c3b6390fffcf7138
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/d997efc179c803ed1b88b962c3b6390fffcf7138
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]