Diff

mod_pubsub_text_interface/mod_pubsub_text_interface.lua @ 3429:1f0c290bd28a

mod_pubsub_text_interface: Send replies trough normal stanza routing This should fix interaction Carbons, which was bypassed when sending directly to the origin session.
author Kim Alvefur <zash@zash.se>
date Thu, 03 Jan 2019 16:07:31 +0100
parent 3328:7d39ffd058d5
child 3488:4ddb034a8a03
line wrap: on
line diff
--- a/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Thu Jan 03 14:01:58 2019 +0000
+++ b/mod_pubsub_text_interface/mod_pubsub_text_interface.lua	Thu Jan 03 16:07:31 2019 +0100
@@ -64,6 +64,6 @@
 	else
 		reply:body("Unknown command. `help` to list commands.");
 	end
-	origin.send(reply);
+	module:send(reply);
 	return true;
 end);