164:d862093d9f91 | 165:8c67ea868c06 |
---|---|
22 }); | 22 }); |
23 end | 23 end |
24 end | 24 end |
25 end | 25 end |
26 end); | 26 end); |
27 return true; | |
27 end | 28 end |
28 | 29 |
29 function pubsub:subscribe(server, node, jid, callback) | 30 function pubsub:subscribe(server, node, jid, callback) |
30 self.stream:send_iq(verse.iq({ to = server, type = "set" }) | 31 self.stream:send_iq(verse.iq({ to = server, type = "set" }) |
31 :tag("pubsub", { xmlns = xmlns_pubsub }) | 32 :tag("pubsub", { xmlns = xmlns_pubsub }) |