Diff

mod_profile/mod_profile.lua @ 2790:5163f7905371

mod_profile: Update get_pep_service() signature to match recent changes to mod_pep_plus (in trunk)
author Kim Alvefur <zash@zash.se>
date Tue, 10 Oct 2017 00:50:40 +0200
parent 2413:b64c0150d663
child 3181:1f2272cda0d7
line wrap: on
line diff
--- a/mod_profile/mod_profile.lua	Mon Oct 09 19:28:17 2017 +0100
+++ b/mod_profile/mod_profile.lua	Tue Oct 10 00:50:40 2017 +0200
@@ -44,7 +44,7 @@
 end
 
 local function update_pep(username, data, pep)
-	pep = pep or pep_plus.get_pep_service(username.."@"..module.host);
+	pep = pep or pep_plus.get_pep_service(username);
 	local photo, p = get_item(data, "PHOTO");
 	if vcard.to_vcard4 then
 		if p then t_remove(data, p); end