diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-01-27 11:25:17 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2024-01-27 11:25:17 +0300 |
commit | 81fc3ea3707cdf73b846ab55b2ecc5b8f68ccd21 (patch) | |
tree | 42a368f278a3ce84e7a3d9d7e0e6fb584df1c82b /xmpp/gateway | |
parent | e37c428c6764eff8e7b5ea286b1c7a0ba52be11a (diff) |
Also ack with XEP-0184 read receipts for outgoing messages
Diffstat (limited to 'xmpp/gateway')
-rw-r--r-- | xmpp/gateway/gateway.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 != "" { |