mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-12 19:50:49 +01:00
![Nicolas Werner](/assets/img/avatar_default.png)
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