Changeset

4234:f31eac6b2e9c

mod_pubsub_text_interface: Remove receipt handling (thanks meaz) This apparenly breaks Gajim, which seems to stop processing of the reply message after noting the receipt.
author Kim Alvefur <zash@zash.se>
date Thu, 05 Nov 2020 21:51:48 +0100 (2020-11-05)
parents 4233:db75772afb28
children 4235:45606c9f529a
files mod_pubsub_text_interface/mod_pubsub_text_interface.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Wed Oct 28 20:38:38 2020 +0100
+++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Thu Nov 05 21:51:48 2020 +0100
@@ -86,10 +86,6 @@
 	end
 	reply:reset();
 
-	if stanza:get_child("request", "urn:xmpp:receipts") then
-		reply:tag("received", { xmlns = "urn:xmpp:receipts", id = stanza.attr.id }):up();
-	end
-
 	if stanza:get_child("no-copy", "urn:xmpp:hints") then
 		reply:tag("no-copy", { xmlns = "urn:xmpp:hints" }):up();
 	end