aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-14 21:26:13 +0200
committerKim Alvefur <zash@zash.se>2018-07-14 21:26:13 +0200
commit25868466b13b6dc4ed59740a702a3613d683ab36 (patch)
treebe869204f393dd60b7739dc658d2054ad152c9a3 /plugins/mod_pubsub/mod_pubsub.lua
parent7e9fabadf4d3bf16ac8b12f271c0117e3ca1ee8f (diff)
downloadprosody-25868466b13b6dc4ed59740a702a3613d683ab36.tar.gz
prosody-25868466b13b6dc4ed59740a702a3613d683ab36.zip
mod_pubsub: Remove unneeded stanza API call
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua1
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