plugin XEP-0308:
Fix call to `client.messageProt.parse_message`
This commit is contained in:
parent
766d49fb38
commit
df28f1a4b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 "
|
||||
|
|
|
|||
Loading…
Reference in a new issue