From 9b42ca1b365b1eb9dc8d9a89b72280c57dc40a71 Mon Sep 17 00:00:00 2001 From: cybermoloch Date: Sat, 19 Sep 2020 12:13:47 -0600 Subject: Update Jitsi Meet to allow self-hosted versions and fix UA string (#167) Co-authored-by: Amine --- uncompressed/jitsi/index.js | 6 +++++- uncompressed/jitsi/package.json | 10 ++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'uncompressed') diff --git a/uncompressed/jitsi/index.js b/uncompressed/jitsi/index.js index 74b9592..6e3a728 100644 --- a/uncompressed/jitsi/index.js +++ b/uncompressed/jitsi/index.js @@ -1,2 +1,6 @@ "use strict"; -module.exports = Ferdi => Ferdi; \ No newline at end of file +module.exports = Franz => class Jitsi extends Franz { + overrideUserAgent() { + return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); + } +} \ No newline at end of file diff --git a/uncompressed/jitsi/package.json b/uncompressed/jitsi/package.json index 81990cb..4a6908a 100644 --- a/uncompressed/jitsi/package.json +++ b/uncompressed/jitsi/package.json @@ -1,13 +1,15 @@ { "id": "jitsi", - "name": "Jitsi", - "version": "1.0.2", - "description": "Jitsi", + "name": "Jitsi Meet", + "version": "1.0.3", + "description": "Jitsi Meet", "main": "index.js", "author": "Sampath Kumar Krishnan ", "license": "MIT", "repository": "https://github.com/sampathBlam/ferdi-jitsi", "config": { - "serviceURL": "https://meet.jit.si/" + "serviceURL": "https://meet.jit.si/", + "hasCustomUrl": true, + "message": "For the public instance, use https://meet.jit.si/ for the Custom server" } } -- cgit v1.2.3-70-g09d2