make enums fall back to unknown or null where possible

Futureproofing.
This commit is contained in:
Henry Hiles 2026-10-23 20:12:54 -04:00
commit 53d9c2b1e6
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -240,6 +240,7 @@ class const EventRenderer(
.joined => "since joined",
.shared => "all history visible (shared)",
.worldReadable => "all history visible (world readable)",
.unknown => "something Nexus doesn't know about",
}}",
),
PinnedEventsContent(:final pinnedEvents) => () {