mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-21 08:40:40 +01:00

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