This commit is contained in:
Archi 2023-10-18 10:27:50 +02:00
parent 5d8826b71b
commit bb1f02e788
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

View file

@ -3075,7 +3075,7 @@ public sealed class Bot : IAsyncDisposable, IDisposable {
ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);
if (!await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce ?? throw new InvalidOperationException(nameof(callback.WebAPIUserNonce)), SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
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;
}