Software /
code /
prosody
Comparison
plugins/mod_pep.lua @ 1625:b6645fe7d89f
Fixed: IQ replies are not sent back on publishing a PEP event
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Mon, 03 Aug 2009 21:47:32 +0500 |
parent | 1619:ae3250783db2 |
child | 1696:2afc87ccc379 |
comparison
equal
deleted
inserted
replaced
1624:c367e40e2094 | 1625:b6645fe7d89f |
---|---|
132 if payload and (payload.name == 'publish' or payload.name == 'retract') and payload.attr.node then -- <publish node='http://jabber.org/protocol/tune'> | 132 if payload and (payload.name == 'publish' or payload.name == 'retract') and payload.attr.node then -- <publish node='http://jabber.org/protocol/tune'> |
133 local node = payload.attr.node; | 133 local node = payload.attr.node; |
134 payload = payload.tags[1]; | 134 payload = payload.tags[1]; |
135 if payload then -- <item> | 135 if payload then -- <item> |
136 publish(session, node, payload); | 136 publish(session, node, payload); |
137 session.send(st.reply(stanza)); | |
137 return true; | 138 return true; |
138 end | 139 end |
139 end | 140 end |
140 end | 141 end |
141 end | 142 end |