--- a/mod_vcard_muc/mod_vcard_muc.lua Thu May 09 10:13:26 2024 +0200
+++ b/mod_vcard_muc/mod_vcard_muc.lua Sat May 11 09:52:11 2024 +0200
@@ -103,10 +103,10 @@
event.reply:tag("feature", { var = "vcard-temp" }):up();
table.insert(event.form, {
- name = "{http://modules.prosody.im/mod_vcard_muc}avatar#sha1",
+ name = "muc#roominfo_avatarhash",
type = "text-single",
});
- event.formdata["{http://modules.prosody.im/mod_vcard_muc}avatar#sha1"] = get_photo_hash(event.room);
+ event.formdata["muc#roominfo_avatarhash"] = get_photo_hash(event.room);
end);
module:hook("muc-occupant-session-new", function(event)