diff options
Diffstat (limited to 'plugins/muc')
-rw-r--r-- | plugins/muc/vcard.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/vcard.lib.lua b/plugins/muc/vcard.lib.lua index 81dce5bd..f9f97721 100644 --- a/plugins/muc/vcard.lib.lua +++ b/plugins/muc/vcard.lib.lua @@ -21,6 +21,7 @@ end local function send_avatar_hash(room, to) local hash = get_avatar_hash(room); + if not hash and to then return; end -- Don't announce when no avatar local presence_vcard = st.presence({to = to, from = room.jid}) :tag("x", { xmlns = "vcard-temp:x:update" }) |