summary refs log tree commit diff
path: root/synapse/res/templates/room.txt
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-10-18 15:07:03 +0100
committerRichard van der Hoff <richard@matrix.org>2018-10-18 15:07:03 +0100
commitc632bc865448b40d246878e2d6c9287621b4ba0e (patch)
treed126c9cba47f70f40cee6acebac8f1cf93599e66 /synapse/res/templates/room.txt
parentMerge pull request #4049 from matrix-org/erikj/synctl_colour (diff)
parent0.33.7 (diff)
downloadsynapse-c632bc865448b40d246878e2d6c9287621b4ba0e.tar.xz
Merge branch 'master' into develop
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 %}