Mercurial > prosody-hg
comparison 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 |
| parents | da154ced7de4 |
| children | 82fad995a149 |
comparison
equal
deleted
inserted
replaced
| 9171:5f03fe90704f | 9172:822e9c5ff4a4 |
|---|---|
| 9 itemcheck = function () return true; end; | 9 itemcheck = function () return true; end; |
| 10 get_affiliation = function () end; | 10 get_affiliation = function () end; |
| 11 normalize_jid = function (jid) return jid; end; | 11 normalize_jid = function (jid) return jid; end; |
| 12 capabilities = { | 12 capabilities = { |
| 13 outcast = { | 13 outcast = { |
| 14 get_subscription = true; | |
| 15 get_subscriptions = true; | |
| 14 be_subscribed = false; | 16 be_subscribed = false; |
| 15 be_unsubscribed = true; | 17 be_unsubscribed = true; |
| 16 }; | 18 }; |
| 17 none = { | 19 none = { |
| 18 create = false; | 20 create = false; |
