diff --git a/libervia/backend/core/xmpp.py b/libervia/backend/core/xmpp.py index dc84cfd2..20a38578 100644 --- a/libervia/backend/core/xmpp.py +++ b/libervia/backend/core/xmpp.py @@ -1840,7 +1840,7 @@ class SatMessageProtocol(xmppim.MessageProtocol): await post_treat self.complete_attachments(data) - if not data["message"] and not data["extra"] and not data["subject"]: + if not client.is_message_printable(data): raise exceptions.CancelError("Cancelled empty message") if not client.is_component or client.receiveHistory: await self.add_to_history(data)