Diff

util/pubsub.lua @ 9172:822e9c5ff4a4

util.pubsub: Allow outcasts to get their subscription status
author Matthew Wild <mwild1@gmail.com>
date Sun, 12 Aug 2018 11:33:22 +0100
parent 9161:da154ced7de4
child 9179:82fad995a149
line wrap: on
line diff
--- a/util/pubsub.lua	Sun Aug 12 10:43:18 2018 +0100
+++ b/util/pubsub.lua	Sun Aug 12 11:33:22 2018 +0100
@@ -11,6 +11,8 @@
 	normalize_jid = function (jid) return jid; end;
 	capabilities = {
 		outcast = {
+			get_subscription = true;
+			get_subscriptions = true;
 			be_subscribed = false;
 			be_unsubscribed = true;
 		};