summary refs log tree commit diff
path: root/synapse/res/templates/room.txt
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-10-17 17:34:22 +0100
committerGitHub <noreply@github.com>2018-10-17 17:34:22 +0100
commitf1bfe6167a5640caaf2f85a96b87e327132f3906 (patch)
tree1c1620912f5bdec15bd4f1cc43fe47a66a231b72 /synapse/res/templates/room.txt
parentupdate changelog (diff)
parentPut the warning blob at the top of the file (diff)
downloadsynapse-f1bfe6167a5640caaf2f85a96b87e327132f3906.tar.xz
Merge pull request #4052 from matrix-org/rav/ship_resources_as_package_data
Ship the email templates as package_data
Diffstat (limited to 'synapse/res/templates/room.txt')
-rw-r--r--synapse/res/templates/room.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/synapse/res/templates/room.txt b/synapse/res/templates/room.txt
new file mode 100644
index 0000000000..84648c710e
--- /dev/null
+++ b/synapse/res/templates/room.txt
@@ -0,0 +1,9 @@
+{{ room.title }}
+
+{% if room.invite %}
+    You've been invited, join at {{ room.link }}
+{% else %}
+    {% for notif in room.notifs %}
+        {% include 'notif.txt' with context %}
+    {% endfor %}
+{% endif %}