Merge pull request #1271 from uhoreg/add_verification_request_msgtype

add in-room m.key.verification.request msgtype
This commit is contained in:
Hubert Chathi 2022-11-02 10:16:42 -04:00 committed by GitHub
commit 830f80f56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 110 additions and 14 deletions

View file

@ -16,9 +16,10 @@
{{ $msgtypes := (slice "m.room.message$m.text" "m.room.message$m.emote" "m.room.message$m.notice" "m.room.message$m.image" "m.room.message$m.file") }}
{{/*
It excludes `m.room.message$m.server_notice`
It excludes `m.room.message$m.server_notice` and `m.room.message$m.key.verification.request`
since they are in their own modules.
*/}}
{{ $excluded := slice "m.room.message$m.server_notice" }}
{{ $excluded := slice "m.room.message$m.server_notice" "m.room.message$m.key.verification.request" }}
{{/*
It then adds any other events that start with `m.room.message`.