Fix netf with new code

This commit is contained in:
Archi 2023-10-18 10:35:44 +02:00
parent bb1f02e788
commit 21b1a319ca
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA
2 changed files with 3 additions and 2 deletions

View file

@ -3075,7 +3075,8 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);
if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce!, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
if (!await RefreshSession().ConfigureAwait(false)) {
return;
}

View file

@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>5.4.11.3</Version>
<Version>5.4.11.4</Version>
</PropertyGroup>
<PropertyGroup>