Remove room avatars from message notification e-mails

This commit is contained in:
Olivier 'reivilibre 2024-08-22 15:00:44 +01:00
parent f0ebe2f215
commit 63df220d71

View file

@ -1,17 +1,6 @@
<table class="room"> <table class="room">
<tr class="room_header"> <tr class="room_header">
<td class="room_avatar"> <td class="room_avatar">
{%- if room.avatar_url %}
<img alt="" src="{{ room.avatar_url|mxc_to_http(48,48) }}" />
{%- else %}
{%- if room.hash % 3 == 0 %}
<img alt="" src="https://riot.im/img/external/avatar-1.png" />
{%- elif room.hash % 3 == 1 %}
<img alt="" src="https://riot.im/img/external/avatar-2.png" />
{%- else %}
<img alt="" src="https://riot.im/img/external/avatar-3.png" />
{%- endif %}
{%- endif %}
</td> </td>
<td class="room_name" colspan="2"> <td class="room_name" colspan="2">
{{ room.title }} {{ room.title }}