Changeset

9811:ce6eb482eb50 0.11

mod_vcard_legacy: Add some missing semicolons
author Kim Alvefur <zash@zash.se>
date Fri, 25 Jan 2019 23:21:13 +0100
parents 9810:2d8e2de36654
children 9812:330a937e085e
files plugins/mod_vcard_legacy.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_vcard_legacy.lua	Thu Jan 10 15:39:02 2019 +0100
+++ b/plugins/mod_vcard_legacy.lua	Fri Jan 25 23:21:13 2019 +0100
@@ -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 @@
 		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