Changeset

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
parents 3428:1962c94e2203
children 3430:6e70d354b7d8
files mod_pubsub_text_interface/mod_pubsub_text_interface.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);