Changeset

337:8dce8240a77c

plugins.pubsub: Collect the subscribed jid
author Kim Alvefur <zash@zash.se>
date Fri, 10 May 2013 12:13:36 +0200
parents 336:658c62c9ecc4
children 338:957704bbe9a1
files plugins/pubsub.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/pubsub.lua	Mon Apr 29 10:58:40 2013 +0200
+++ b/plugins/pubsub.lua	Fri May 10 12:13:36 2013 +0200
@@ -79,6 +79,7 @@
 				for sub in subs:childtags("subscription") do
 					local node = self:node(sub.attr.node)
 					node.subscription = sub;
+					node.subscribed_jid = sub.attr.jid;
 					t_insert(nodes, node);
 					-- FIXME Good enough?
 					-- Or how about: