mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
feat(lib-jitsi-meet) log UA string too
This way we can know from the logs what we are working with.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
771f5af59d
commit
6d3330a208
1
globals.native.d.ts
vendored
1
globals.native.d.ts
vendored
@@ -40,6 +40,7 @@ interface IWindow {
|
||||
|
||||
interface INavigator {
|
||||
product: string;
|
||||
userAgent: string;
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@@ -57,7 +57,8 @@ export function initLib() {
|
||||
isOnline: isOnline(state)
|
||||
});
|
||||
|
||||
logger.info(`lib-jitsi-meet version:${JitsiMeetJS.version}`);
|
||||
logger.info(`lib-jitsi-meet version: ${JitsiMeetJS.version}`);
|
||||
logger.info(`User Agent: ${navigator.userAgent}`);
|
||||
|
||||
dispatch({ type: LIB_DID_INIT });
|
||||
} catch (error: any) {
|
||||
|
||||
Reference in New Issue
Block a user