Commit Graph

4 Commits

Author SHA1 Message Date
Nicolas Werner 303ccbe965
fix: type error in emote pack list in rooms with only non-default packs
If a room has emote packs, but none of them have an empty state key, we
insert 'null' to also add a default pack people can easily edit.
However, in that case we initialized the Map<String, Event?> variable
with a Map<String, Event>. As such assigning null will throw. Converting
manually with Map.of fixes that.

fixes #1138
2023-03-11 15:05:08 +01:00
Malin Errenst 5212d7ce4d refactor: Added and applied require_trailing_commas linter rule 2023-03-02 11:21:40 +01:00
Krille Fear ef4c5089d5 refactor: Migrate to null safety 2022-01-31 16:33:42 +01:00
Krille Fear d46667b097 refactor: Pages folder structure 2021-11-09 21:32:16 +01:00