Make eslint happy

This commit is contained in:
Till Faelligen
2024-08-23 09:58:09 +02:00
parent 87e16f694a
commit 8af9470248
+4 -1
View File
@@ -105,7 +105,10 @@ async function tryUpdateServerSupportMap(clientApiUrl: string, accessToken?: str
console.log(`[ServiceWorker] /versions response for '${clientApiUrl}': ${JSON.stringify(versions)}`);
serverSupportMap[clientApiUrl] = {
supportsAuthedMedia: Boolean(versions?.versions?.includes("v1.11") || versions?.unstable_features?.["org.matrix.msc3916.stable"] === true),
supportsAuthedMedia: Boolean(
versions?.versions?.includes("v1.11") ||
versions?.unstable_features?.["org.matrix.msc3916.stable"] === true,
),
cacheExpiryTimeMs: new Date().getTime() + 2 * 60 * 60 * 1000, // 2 hours from now
};
console.log(