summary refs log tree commit diff
path: root/res/templates-vector/notif.txt
diff options
context:
space:
mode:
Diffstat (limited to 'res/templates-vector/notif.txt')
-rw-r--r--res/templates-vector/notif.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/res/templates-vector/notif.txt b/res/templates-vector/notif.txt
new file mode 100644
index 0000000000..b515f394c3
--- /dev/null
+++ b/res/templates-vector/notif.txt
@@ -0,0 +1,12 @@
+{% for message in notif.messages %}
+{{ message.sender_name }} ({{ message.ts|format_ts("%H:%M") }})
+{% if message.msgtype == "m.text" %}
+{{ message.body_text_plain }}
+{% elif message.msgtype == "m.image" %}
+{{ message.body_text_plain }}
+{% elif message.msgtype == "m.file" %}
+{{ message.body_text_plain }}
+{% endif %}
+{% endfor %}
+
+View at {{ notif.link }}