Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
037ddbdb
by wurstsalat at 2023-05-25T11:43:16+02:00
1 changed file:
Changes:
| ... | ... | @@ -730,8 +730,7 @@ def get_chat_row_menu(contact: types.ChatContactT, |
| 730 | 730 | |
| 731 | 731 | if disco_info.has_message_moderation and is_allowed:
|
| 732 | 732 | show_retract = True
|
| 733 | - if show_retract:
|
|
| 734 | - assert stanza_id is not None
|
|
| 733 | + if show_retract and stanza_id is not None:
|
|
| 735 | 734 | param = RetractMessageParam(
|
| 736 | 735 | account=contact.account,
|
| 737 | 736 | jid=contact.jid,
|