Update lib/src/Store.dart

This commit is contained in:
Christian 2019-06-12 07:44:14 +00:00
parent 4b5322f7dd
commit ae559a3379
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class Store {
switch (userUpdate.eventType) {
case "m.direct":
print("New direct update: type: ${userUpdate.content["content"].runtimeType}");
if (userUpdate.content["content"] is Map<String, List<dynamic>>) {
if (userUpdate.content["content"] is Map<String, dynamic>) {
print("Is a Map of String to List of Strings");
Map<String, List<String>> directMap = userUpdate.content["content"];
directMap.forEach((String key, List<String> value) {