mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-05 14:35:43 +00:00
fix issue #21
Exception "An item with the same key has already been added" in Messages_GetHistory
This commit is contained in:
parent
c93481189a
commit
145ade4414
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ namespace TL
|
|||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
var value = (T)reader.ReadTLValue(elementType);
|
||||
dict.Add(getID(value), value is UserEmpty ? null : value);
|
||||
dict[getID(value)] = value is UserEmpty ? null : value;
|
||||
}
|
||||
return dict;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue