From b499992148978913aacac2e86248f0b89c6c81b7 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Wed, 10 Apr 2024 22:17:58 -0400 Subject: Fix missing read markers in other XMPP clients than the message sender --- xmpp/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp') diff --git a/xmpp/handlers.go b/xmpp/handlers.go index 8c6ba37..811cef6 100644 --- a/xmpp/handlers.go +++ b/xmpp/handlers.go @@ -203,7 +203,7 @@ func HandleMessage(s xmpp.Sender, p stanza.Packet) { } else { err = gateway.IdsDB.Set(session.Session.Login, bare, toID, tgMessageId, msg.Id) if err == nil { - session.AddToOutbox(msg.Id, resource) + // session.AddToOutbox(msg.Id, resource) session.UpdateLastChatMessageId(toID, msg.Id) } else { log.Errorf("Failed to save ids %v/%v %v", toID, tgMessageId, msg.Id) -- cgit v1.2.3