diff --git a/src/common/connection.py b/src/common/connection.py index 80e2af7bad0ff2654f0d5c645d5bc837736edebe..f776611f3f5d4a5dd88b1f3191f25442e1cadb1d 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -2348,7 +2348,7 @@ class Connection(CommonConnection, ConnectionHandlers): msg_iq.addChild(node = label) self.connection.send(msg_iq) gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self, - jid=jid, message=msg, keyID=None)) + jid=jid, message=msg, keyID=None, chatstate=None)) def send_gc_subject(self, jid, subject): if not gajim.account_is_connected(self.name): diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index 8c96ec23b641cae62a6cd47057f4f8f145c795ac..b34a275051715013a25e13974120300d5a5fa764 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -340,7 +340,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf): def on_send_ok(msg_id): gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self, - jid=jid, message=msg, keyID=keyID)) + jid=jid, message=msg, keyID=keyID, chatstate=None)) if callback: callback(msg_id, *callback_args) @@ -377,7 +377,8 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf): def on_send_ok(msg_id): gajim.nec.push_incoming_event(MessageSentEvent(None, conn=self, - jid=obj.jid, message=obj.message, keyID=obj.keyID)) + jid=obj.jid, message=obj.message, keyID=obj.keyID, + chatstate=None)) if obj.callback: obj.callback(obj.msg_id, *obj.callback_args)