add turndown for m->d formatting

This commit is contained in:
Cadence Ember 2023-08-26 01:43:17 +12:00
commit 8c4e16e255
5 changed files with 297 additions and 16 deletions

2
types.d.ts vendored
View file

@ -67,7 +67,7 @@ export namespace Event {
}
export type M_Room_Message = {
msgtype: "m.text"
msgtype: "m.text" | "m.emote"
body: string
format?: "org.matrix.custom.html"
formatted_body?: string