Add note about encrypted messages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Cadence Ember 2020-10-21 20:27:22 +13:00
parent 735ca360c8
commit 988dd1050b
Signed by: cadence
GPG key ID: BC1C2C61CF521B17

View file

@ -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}`))
}