From f148070426c6cdad8ef9b794ae6f74d468c5085b Mon Sep 17 00:00:00 2001 From: Casper Sparre Date: Wed, 7 Jan 2026 17:53:01 +0100 Subject: [PATCH] Fixed issue with duplicated user ids --- OF DL/Helpers/APIHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }