Backport pull request #5507 from jellyfin-web/release-10.9.z
Set the minimum server version to match the sdk Original-merge: a358d34ea9644d351251426a33e9da94ec11cc95 Merged-by: thornbill <thornbill@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
fcce771cd8
commit
ae26c92a38
@@ -1,3 +1,4 @@
|
||||
import { MINIMUM_VERSION } from '@jellyfin/sdk/lib/versions';
|
||||
import { ConnectionManager, Credentials, ApiClient } from 'jellyfin-apiclient';
|
||||
|
||||
import { appHost } from './apphost';
|
||||
@@ -33,6 +34,9 @@ class ServerConnections extends ConnectionManager {
|
||||
super(...arguments);
|
||||
this.localApiClient = null;
|
||||
|
||||
// Set the apiclient minimum version to match the SDK
|
||||
this._minServerVersion = MINIMUM_VERSION;
|
||||
|
||||
Events.on(this, 'localusersignedout', (_e, logoutInfo) => {
|
||||
setUserInfo(null, null);
|
||||
// Ensure the updated credentials are persisted to storage
|
||||
|
||||
Reference in New Issue
Block a user