Mercurial > prosody-modules
comparison mod_profile/mod_profile.lua @ 3184:c25853bc387b
mod_profile: Fix typo
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 13 Jul 2018 01:11:51 +0200 |
parents | 1f2272cda0d7 |
children | 973caebcb40b |
comparison
equal
deleted
inserted
replaced
3183:b718092e442f | 3184:c25853bc387b |
---|---|
145 local node, item = event.node, event.item; | 145 local node, item = event.node, event.item; |
146 local username, host = jid_split(event.actor); | 146 local username, host = jid_split(event.actor); |
147 if host ~= module.host then | 147 if host ~= module.host then |
148 module:log("warn", "on_publish() called for non-local actor"); | 148 module:log("warn", "on_publish() called for non-local actor"); |
149 for k,v in pairs(event) do | 149 for k,v in pairs(event) do |
150 module:log("debug", "event[%q] = %q", tosting(k), tostring(v)); | 150 module:log("debug", "event[%q] = %q", k, v); |
151 end | 151 end |
152 return; | 152 return; |
153 end | 153 end |
154 local data = storage:get(username) or {}; | 154 local data = storage:get(username) or {}; |
155 if node == "urn:xmpp:avatar:data" then | 155 if node == "urn:xmpp:avatar:data" then |