core (message): fix calling of post treatments during message workflow
This commit is contained in:
parent
ec2a637847
commit
0979b3fee3
1 changed files with 3 additions and 0 deletions
|
|
@ -1365,6 +1365,9 @@ class SatMessageProtocol(xmppim.MessageProtocol):
|
|||
return
|
||||
try:
|
||||
data = self.parse_message(message_elt)
|
||||
# we now do all post treatments added by plugins
|
||||
post_treat.callback(data)
|
||||
await post_treat
|
||||
|
||||
self.complete_attachments(data)
|
||||
if not data["message"] and not data["extra"] and not data["subject"]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue