notif.txt 565 B

12345678910111213141516
  1. {% for message in notif.messages %}
  2. {% if message.msgtype == "m.emote" %}* {% endif %}{{ message.sender_name }} ({{ message.ts|format_ts("%H:%M") }})
  3. {% if message.msgtype == "m.text" %}
  4. {{ message.body_text_plain }}
  5. {% elif message.msgtype == "m.emote" %}
  6. {{ message.body_text_plain }}
  7. {% elif message.msgtype == "m.notice" %}
  8. {{ message.body_text_plain }}
  9. {% elif message.msgtype == "m.image" %}
  10. {{ message.body_text_plain }}
  11. {% elif message.msgtype == "m.file" %}
  12. {{ message.body_text_plain }}
  13. {% endif %}
  14. {% endfor %}
  15. View {{ room.title }} at {{ notif.link }}