Commit Graph

4 Commits (901b4862e4b9c6e8efa0d4da83a4c66c721d44aa)

Author SHA1 Message Date
Nicolas Werner 906f8c3161 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
2 years ago
Malin Errenst ec7acc5385 refactor: Added and applied require_trailing_commas linter rule 2 years ago
Krille Fear 55f0300f9f refactor: Migrate to null safety 3 years ago
Krille Fear 1abb7310f3 refactor: Pages folder structure 4 years ago