mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 08:54:54 +03:00
Remove room avatars from message notification e-mails
This commit is contained in:
parent
f0ebe2f215
commit
63df220d71
1 changed files with 0 additions and 11 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue