feat: enhance token retrieval for service worker with multi-account support
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { useSpecVersions } from './useSpecVersions';
|
||||
|
||||
/**
|
||||
* Determines whether to use authenticated media endpoints.
|
||||
* @returns true if the server supports authenticated media (Matrix v1.11+)
|
||||
*/
|
||||
export const useMediaAuthentication = (): boolean => {
|
||||
const { versions, unstable_features: unstableFeatures } = useSpecVersions();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user