Comparison

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
comparison
equal deleted inserted replaced
3428:1962c94e2203 3429:1f0c290bd28a
62 reply:body("OK"); 62 reply:body("OK");
63 end 63 end
64 else 64 else
65 reply:body("Unknown command. `help` to list commands."); 65 reply:body("Unknown command. `help` to list commands.");
66 end 66 end
67 origin.send(reply); 67 module:send(reply);
68 return true; 68 return true;
69 end); 69 end);