diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index 1e48c962a..c44787ff2 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -366,8 +366,8 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf): original_message=None, delayed=None): fjid = jid - if msg and not xhtml and gajim.config.get( - 'rst_formatting_outgoing_messages'): + if msg and not xhtml and gajim.config.get( + 'rst_formatting_outgoing_messages'): from common.rst_xhtml_generator import create_xhtml xhtml = create_xhtml(msg) if not self.connection: