diff --git a/OF DL/Helpers/APIHelper.cs b/OF DL/Helpers/APIHelper.cs index 3caec67..4fb03dd 100644 --- a/OF DL/Helpers/APIHelper.cs +++ b/OF DL/Helpers/APIHelper.cs @@ -2874,7 +2874,7 @@ public class APIHelper : IAPIHelper } foreach (Chats.Chat chat in chats.list) - collection.Chats.Add(chat.withUser.id, chat); + collection.Chats.TryAdd(chat.withUser.id, chat); return collection; }