Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
037ddbdb by wurstsalat at 2023-05-25T11:43:16+02:00
fix: Message menu: Fix issue with chats not supplying correct ID
- - - - -
1 changed file:
- gajim/gtk/menus.py
Changes:
=====================================
gajim/gtk/menus.py
=====================================
@@ -730,8 +730,7 @@ def get_chat_row_menu(contact: types.ChatContactT,
if disco_info.has_message_moderation and is_allowed:
show_retract = True
- if show_retract:
- assert stanza_id is not None
+ if show_retract and stanza_id is not None:
param = RetractMessageParam(
account=contact.account,
jid=contact.jid,
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/037ddbdbdf3e61007c2d41312121c943aef6d923
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/037ddbdbdf3e61007c2d41312121c943aef6d923
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