aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-08-02 23:41:18 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-08-02 23:41:18 +0300
commit608f67551297a14e2e23603413bbce66f6ad5cd9 (patch)
treed89aca9f73cf9de1da86d527dc4d7055716469df /xmpp/handlers.go
parent8fc9edd7e70aeca266ab2860198de49bdc2ab585 (diff)
Revert sending carbons for outgoing messages to other resources (they duplicate what clients already send to each other)v1.7.3
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index fd1afad..4e3354e 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -183,7 +183,6 @@ func HandleMessage(s xmpp.Sender, p stanza.Packet) {
if err != nil {
log.Errorf("Failed to save ids %v/%v %v", toID, tgMessageId, msg.Id)
}
- session.AddToOutbox(msg.Id, resource)
}
} else {
/*