Software / code / prosody
Changeset
8941:f0beba9c2822
util.pubsub: Fix typo
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 26 Jun 2018 20:33:10 +0200 |
| parents | 8940:365b16109d95 |
| children | 8942:ecb5e13d97bb |
| files | util/pubsub.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Tue Jun 26 20:28:53 2018 +0200 +++ b/util/pubsub.lua Tue Jun 26 20:33:10 2018 +0200 @@ -116,7 +116,7 @@ if not node_obj then return false, "item-not-found"; end - jid = self.config.normal_jid(jid); + jid = self.config.normalize_jid(jid); node_obj.affiliations[jid] = affiliation; local _, jid_sub = self:get_subscription(node, true, jid); if not jid_sub and not self:may(node, jid, "be_unsubscribed") then