plugin XEP-0308:

Fix call to `client.messageProt.parse_message`
This commit is contained in:
Goffi 2026-05-02 15:49:46 +02:00
commit df28f1a4b4

View file

@ -195,7 +195,7 @@ class XEP_0308:
return True
previous_message_data = edited_history.serialise()
message_data = client.messageProt.parse_message(message_elt)
message_data = await client.messageProt.parse_message(message_elt)
if not message_data["message"] and not message_data["subject"]:
log.warning(
"Message correction doesn't have body nor subject, we can't edit "