From 81fc3ea3707cdf73b846ab55b2ecc5b8f68ccd21 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Sat, 27 Jan 2024 03:25:17 -0500 Subject: Also ack with XEP-0184 read receipts for outgoing messages --- xmpp/gateway/gateway.go | 1 + 1 file changed, 1 insertion(+) (limited to 'xmpp/gateway') diff --git a/xmpp/gateway/gateway.go b/xmpp/gateway/gateway.go index 4b2a07f..5ba201a 100644 --- a/xmpp/gateway/gateway.go +++ b/xmpp/gateway/gateway.go @@ -144,6 +144,7 @@ func sendMessageWrapper(to string, from string, body string, id string, componen message.Extensions = append(message.Extensions, stanza.MarkReceived{ID: marker.Id}) } else if marker.Type == MarkerTypeDisplayed { message.Extensions = append(message.Extensions, stanza.MarkDisplayed{ID: marker.Id}) + message.Extensions = append(message.Extensions, stanza.ReceiptReceived{ID: marker.Id}) } } if !isCarbon && toJid.Resource != "" { -- cgit v1.2.3