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 #1138fluffychat-flutterwebauto2
parent
28dd1292f2
commit
906f8c3161
Loading…
Reference in New Issue