# HG changeset patch # User Goffi # Date 1717680107 -7200 # Node ID 6ae380307ddc6b2342c602cde7bfe80442231add # Parent b313a7d343af7790eddb8a64d4d7603af14d6135 bulma (components/avatar): fix template when not identity is found. diff -r b313a7d343af -r 6ae380307ddc sat_templates/templates/bulma/components/avatar.html --- a/sat_templates/templates/bulma/components/avatar.html Thu May 30 17:08:21 2024 +0200 +++ b/sat_templates/templates/bulma/components/avatar.html Thu Jun 06 15:21:47 2024 +0200 @@ -1,7 +1,7 @@ {% macro avatar(jid, class="is-48x48") %} {%- if identities is defined -%} {% set identity = identities.get(jid) %} - {%- if identity.avatar.filename %} + {%- if identity and identity.avatar.filename %}