diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-04-28 14:04:42 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-04-28 14:04:42 +0300 |
commit | 43f9603b887a2395a9a14234bd078170b3bd0926 (patch) | |
tree | 57f8f8b40450f19b34b825acd0516dee5278b41c /xmpp | |
parent | 154b59de44d305c17b4e0228e62eca0a408558ed (diff) | |
parent | a3f6d5f77402bf4a4d3fa01297f9fd78cc69a3b3 (diff) |
Merge branch 'master' into adhoc
Diffstat (limited to 'xmpp')
-rw-r--r-- | xmpp/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go index be53189..1d77bc4 100644 --- a/xmpp/handlers.go +++ b/xmpp/handlers.go @@ -210,7 +210,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) |