aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-03 07:20:03 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-03 07:20:03 +0300
commit9a84e9a8b6b7a6f953301e54f19cdf4be73592e1 (patch)
tree33e96558211827f696868815222e2d36abbd8fcb /xmpp/handlers.go
parent8663a29e157aae6e68cc880a86b3a666da37bfc9 (diff)
Store message ids in Badger DB
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index 780478a..5178acd 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -139,7 +139,7 @@ func HandleMessage(s xmpp.Sender, p stanza.Packet) {
}
}
- session.ProcessOutgoingMessage(toID, text, msg.From, replyId)
+ session.ProcessOutgoingMessage(toID, text, msg.From, msg.Id, replyId)
return
} else {
toJid, err := stanza.NewJid(msg.To)