aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_vcard_legacy.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-01-25 23:21:13 +0100
committerKim Alvefur <zash@zash.se>2019-01-25 23:21:13 +0100
commitc5a974306e2c5b094b4c677ad1b7985030c790c9 (patch)
tree3d87f7908fe287af0a4d422ff679d18026fb76fd /plugins/mod_vcard_legacy.lua
parent1a4bc877410cd65f1f64de4a88228ff1fef563f2 (diff)
downloadprosody-c5a974306e2c5b094b4c677ad1b7985030c790c9.tar.gz
prosody-c5a974306e2c5b094b4c677ad1b7985030c790c9.zip
mod_vcard_legacy: Add some missing semicolons
Diffstat (limited to 'plugins/mod_vcard_legacy.lua')
-rw-r--r--plugins/mod_vcard_legacy.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_vcard_legacy.lua b/plugins/mod_vcard_legacy.lua
index 6a196b32..a738a5f7 100644
--- a/plugins/mod_vcard_legacy.lua
+++ b/plugins/mod_vcard_legacy.lua
@@ -1,4 +1,4 @@
-local st = require "util.stanza"
+local st = require "util.stanza";
local jid_split = require "util.jid".split;
local mod_pep = module:depends("pep");
@@ -259,7 +259,7 @@ function save_to_pep(pep_service, actor, vcard4, avatars)
avatar_defaults.max_items = #avatars;
end
for _, avatar in ipairs(avatars) do
- local ok, err = pep_service:publish("urn:xmpp:avatar:data", actor, avatar.hash, avatar.data, avatar_defaults)
+ local ok, err = pep_service:publish("urn:xmpp:avatar:data", actor, avatar.hash, avatar.data, avatar_defaults);
if ok then
ok, err = pep_service:publish("urn:xmpp:avatar:metadata", actor, avatar.hash, avatar.meta, avatar_defaults);
end