Mercurial > libervia-backend
diff libervia/backend/core/xmpp.py @ 4168:d67eaa684484
core (message): fix calling of post treatments during message workflow
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 01 Dec 2023 18:20:27 +0100 |
parents | 18026ce0819c |
children | 4dc00e848961 |
line wrap: on
line diff
--- a/libervia/backend/core/xmpp.py Fri Dec 01 15:22:55 2023 +0100 +++ b/libervia/backend/core/xmpp.py Fri Dec 01 18:20:27 2023 +0100 @@ -1365,6 +1365,9 @@ 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"]: