forked from Nexus/nexus
make enums fall back to unknown or null where possible
Futureproofing.
This commit is contained in:
parent
401b527714
commit
53d9c2b1e6
1 changed files with 28 additions and 6 deletions
|
|
@ -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) => () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue