Mercurial > prosody-hg
diff plugins/mod_vcard.lua @ 14192:e58de351880f
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 26 May 2026 11:47:33 +0100 |
| parents | 12c01089bdb7 |
| children |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Mon May 25 21:14:24 2026 +0100 +++ b/plugins/mod_vcard.lua Tue May 26 11:47:33 2026 +0100 @@ -68,5 +68,6 @@ local photo_b64 = photo:get_child_text("BINVAL"); local photo_raw = photo_b64 and base64.decode(photo_b64); + if not photo_raw then return end return (sha1(photo_raw, true)); end
