85 message.attr.to = jid; |
85 message.attr.to = jid; |
86 core_post_stanza(hosts[module.host], message); |
86 core_post_stanza(hosts[module.host], message); |
87 end |
87 end |
88 end |
88 end |
89 |
89 |
|
90 module:hook("iq/host/http://jabber.org/protocol/pubsub:pubsub", handle_pubsub_iq); |
|
91 |
90 service = pubsub.new({ |
92 service = pubsub.new({ |
91 broadcaster = simple_broadcast |
93 broadcaster = simple_broadcast |
92 }); |
94 }); |
|
95 _M.service = service; |
93 |
96 |
94 module:hook("iq/host/http://jabber.org/protocol/pubsub:pubsub", handle_pubsub_iq); |
|