Skip to content
Snippets Groups Projects
Commit 037ddbdb authored by Daniel Brötzmann's avatar Daniel Brötzmann
Browse files

fix: Message menu: Fix issue with chats not supplying correct ID

parent 9f5633de
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment