From 4dfbae18fe10c22a54421f211ad4a46a11777c16 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 1 Mar 2019 15:02:02 -0700 Subject: [PATCH 1/3] Use static locations for Riot icons See https://github.com/vector-im/riot-web/issues/9009 --- synapse/res/templates/notif.html | 6 +++--- synapse/res/templates/notif_mail.html | 2 +- synapse/res/templates/room.html | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/synapse/res/templates/notif.html b/synapse/res/templates/notif.html index 88b921ca9..1a6c70b56 100644 --- a/synapse/res/templates/notif.html +++ b/synapse/res/templates/notif.html @@ -6,11 +6,11 @@ {% else %} {% if message.sender_hash % 3 == 0 %} - + {% elif message.sender_hash % 3 == 1 %} - + {% else %} - + {% endif %} {% endif %} {% endif %} diff --git a/synapse/res/templates/notif_mail.html b/synapse/res/templates/notif_mail.html index fcdb3109f..019506e5f 100644 --- a/synapse/res/templates/notif_mail.html +++ b/synapse/res/templates/notif_mail.html @@ -19,7 +19,7 @@ {% if app_name == "Riot" %} - [Riot] + [Riot] {% elif app_name == "Vector" %} [Vector] {% else %} diff --git a/synapse/res/templates/room.html b/synapse/res/templates/room.html index 723c222d2..b8525fef8 100644 --- a/synapse/res/templates/room.html +++ b/synapse/res/templates/room.html @@ -5,11 +5,11 @@ {% else %} {% if room.hash % 3 == 0 %} - + {% elif room.hash % 3 == 1 %} - + {% else %} - + {% endif %} {% endif %} From 13c18853b9f8a013555d035e5943491702c67112 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 1 Mar 2019 15:15:00 -0700 Subject: [PATCH 2/3] Changelog --- changelog.d/4779.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/4779.misc diff --git a/changelog.d/4779.misc b/changelog.d/4779.misc new file mode 100644 index 000000000..7c821458d --- /dev/null +++ b/changelog.d/4779.misc @@ -0,0 +1 @@ +Swap out riot.im icons and logos for a more static resource. From 898378c9b544e35121b247a9a0080e27b18f9549 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Wed, 6 Mar 2019 14:29:56 -0700 Subject: [PATCH 3/3] Update changelog.d/4779.misc Co-Authored-By: turt2live --- changelog.d/4779.misc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.d/4779.misc b/changelog.d/4779.misc index 7c821458d..2442bf31b 100644 --- a/changelog.d/4779.misc +++ b/changelog.d/4779.misc @@ -1 +1 @@ -Swap out riot.im icons and logos for a more static resource. +Update URLs for riot.im icons and logos in the default notification templates.