changeset 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
parents 37ae0801f925
children 008cf272b7ea
files mod_profile/mod_profile.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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