Software /
code /
verse
Comparison
plugins/private.lua @ 380:0891b4e27766
Discard trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 01 May 2015 23:27:29 +0200 |
parent | 250:a5ac643a7fd6 |
comparison
equal
deleted
inserted
replaced
379:d80d27234e38 | 380:0891b4e27766 |
---|---|
16 :add_child(data); | 16 :add_child(data); |
17 end | 17 end |
18 end | 18 end |
19 self:send_iq(iq, callback); | 19 self:send_iq(iq, callback); |
20 end | 20 end |
21 | 21 |
22 function stream:private_get(name, xmlns, callback) | 22 function stream:private_get(name, xmlns, callback) |
23 self:send_iq(verse.iq({type="get"}) | 23 self:send_iq(verse.iq({type="get"}) |
24 :tag("query", { xmlns = xmlns_private }) | 24 :tag("query", { xmlns = xmlns_private }) |
25 :tag(name, { xmlns = xmlns }), | 25 :tag(name, { xmlns = xmlns }), |
26 function (reply) | 26 function (reply) |