mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2026-04-21 06:13:57 +00:00
fix #242: correctly handle UserEmpty in ReadTLDictionary
This commit is contained in:
parent
abeed476e7
commit
f3ca76bb8f
3 changed files with 7 additions and 7 deletions
|
|
@ -208,7 +208,7 @@ public class MTProtoGenerator : IIncrementalGenerator
|
|||
|
||||
foreach (var nullable in nullables)
|
||||
makeTL.AppendLine($"\t\t\t0x{nullable.Value:X8} => null,");
|
||||
makeTL.AppendLine("\t\t\tvar ctorNb => throw new Exception($\"Cannot find type for ctor #{ctorNb:x}\")");
|
||||
makeTL.AppendLine("\t\t\tvar ctorNb => throw new WTelegram.WTException($\"Cannot find type for ctor #{ctorNb:x}\")");
|
||||
makeTL.AppendLine("\t\t};");
|
||||
namespaces["TL"]["Layer"] = makeTL.ToString();
|
||||
foreach (var namesp in namespaces)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue