diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-14 21:26:13 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-14 21:26:13 +0200 |
commit | 9003eb54335fafa6fe69cd5c3c59bfc2a93b2de3 (patch) | |
tree | be869204f393dd60b7739dc658d2054ad152c9a3 | |
parent | c86e5f565c372dd66b1e9e5dafd42a2d7cce7007 (diff) | |
download | prosody-9003eb54335fafa6fe69cd5c3c59bfc2a93b2de3.tar.gz prosody-9003eb54335fafa6fe69cd5c3c59bfc2a93b2de3.zip |
mod_pubsub: Remove unneeded stanza API call
-rw-r--r-- | plugins/mod_pubsub/mod_pubsub.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua index 829846c4..e9c7ad37 100644 --- a/plugins/mod_pubsub/mod_pubsub.lua +++ b/plugins/mod_pubsub/mod_pubsub.lua @@ -56,7 +56,6 @@ function simple_broadcast(kind, node, jids, item, actor, node_obj) if item and item.tags[1] then local payload = item.tags[1]; if payload.attr.xmlns == "http://www.w3.org/2005/Atom" then - message:reset(); local title = payload:get_child_text("title"); summary = payload:get_child_text("summary"); if not summary and title then |