diff --git a/.github/dev.yml b/.github/dev.yml index 261f68e..1d237e5 100644 --- a/.github/dev.yml +++ b/.github/dev.yml @@ -1,7 +1,7 @@ pr: none trigger: [ master ] -name: 3.6.3-dev.$(Rev:r) +name: 3.6.4-dev.$(Rev:r) pool: vmImage: ubuntu-latest diff --git a/src/Client.cs b/src/Client.cs index 325cfeb..af22c38 100644 --- a/src/Client.cs +++ b/src/Client.cs @@ -1355,7 +1355,7 @@ namespace WTelegram /// Wait for the reply and return the resulting object, or throws an RpcException if an error was replied public async Task Invoke(IMethod query) { - if (_dcSession.WithoutUpdates && query is not IMethod) + if (_dcSession.WithoutUpdates && query is not IMethod and not IMethod) query = new TL.Methods.InvokeWithoutUpdates { query = query }; bool got503 = false; retry: