aboutsummaryrefslogtreecommitdiff
path: root/xmpp/handlers.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-27 11:25:17 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2024-01-27 11:25:17 +0300
commit81fc3ea3707cdf73b846ab55b2ecc5b8f68ccd21 (patch)
tree42a368f278a3ce84e7a3d9d7e0e6fb584df1c82b /xmpp/handlers.go
parente37c428c6764eff8e7b5ea286b1c7a0ba52be11a (diff)
Also ack with XEP-0184 read receipts for outgoing messages
Diffstat (limited to 'xmpp/handlers.go')
-rw-r--r--xmpp/handlers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmpp/handlers.go b/xmpp/handlers.go
index 088cb21..541eb63 100644
--- a/xmpp/handlers.go
+++ b/xmpp/handlers.go
@@ -461,6 +461,7 @@ func handleGetDiscoInfo(s xmpp.Sender, iq *stanza.IQ) {
if ok {
disco.AddIdentity("", "account", "registered")
disco.AddFeatures(stanza.NSMsgChatMarkers)
+ disco.AddFeatures(stanza.NSMsgReceipts)
} else {
disco.AddIdentity("Telegram Gateway", "gateway", "telegram")
disco.AddFeatures("jabber:iq:register")