Fixed issue with duplicated user ids

This commit is contained in:
Casper Sparre 2026-01-07 17:53:01 +01:00
parent cd67b754bd
commit f148070426

View File

@ -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;
}