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 --- all.json | 4 ++-- archives/jitsi.tar.gz | Bin 110937 -> 110634 bytes uncompressed/jitsi/index.js | 6 +++++- uncompressed/jitsi/package.json | 10 ++++++---- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/all.json b/all.json index df5b7fd..315fe88 100644 --- a/all.json +++ b/all.json @@ -531,8 +531,8 @@ "author": "Sampath Kumar Krishnan ", "featured": false, "id": "jitsi", - "name": "Jitsi", - "version": "1.0.2", + "name": "Jitsi Meet", + "version": "1.0.3", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jitsi/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/jitsi/icon.svg" diff --git a/archives/jitsi.tar.gz b/archives/jitsi.tar.gz index 9025704..ca05ab4 100644 Binary files a/archives/jitsi.tar.gz and b/archives/jitsi.tar.gz differ 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