From 988dd1050ba2dff0c92e8dfe2d538b0b19e40d53 Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Wed, 21 Oct 2020 20:27:22 +1300 Subject: [PATCH] Add note about encrypted messages --- src/js/Timeline.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/Timeline.js b/src/js/Timeline.js index 94e77bf..3e2a0b6 100644 --- a/src/js/Timeline.js +++ b/src/js/Timeline.js @@ -81,6 +81,8 @@ class Event extends ElemJS { } else { this.child(ejs("i").text("left the room")) } + } else if (this.data.type === "m.room.encrypted") { + this.child(ejs("i").text("Carbon does not yet support encrypted messages.")) } else { this.child(ejs("i").text(`Unsupported event type ${this.data.type}`)) }