Disable unsupported messages even on debug builds
We could make a setting for this, maybe!
This commit is contained in:
parent
cb5846600b
commit
45ae72ed2a
1 changed files with 2 additions and 1 deletions
|
|
@ -120,7 +120,8 @@ extension EventToMessage on Event {
|
|||
),
|
||||
EventTypes.Redaction => null,
|
||||
_ =>
|
||||
kDebugMode
|
||||
// Turn this on for debugging purposes
|
||||
false
|
||||
? Message.unsupported(
|
||||
metadata: metadata,
|
||||
id: eventId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue