Diff

mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 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
parent 4042:78ac5500a844
child 4489:725768d83830
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