forked from sim0n00ps/OF-DL
Fixed issue with duplicated user ids
This commit is contained in:
parent
cd67b754bd
commit
f148070426
@ -2874,7 +2874,7 @@ public class APIHelper : IAPIHelper
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach (Chats.Chat chat in chats.list)
|
foreach (Chats.Chat chat in chats.list)
|
||||||
collection.Chats.Add(chat.withUser.id, chat);
|
collection.Chats.TryAdd(chat.withUser.id, chat);
|
||||||
|
|
||||||
return collection;
|
return collection;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user