Quellcode durchsuchen

rn: drop support for no longer supported deployments

master
Saúl Ibarra Corretgé vor 6 Jahren
Ursprung
Commit
342718f673

+ 0
- 4
android/app/src/main/AndroidManifest.xml Datei anzeigen

@@ -23,11 +23,7 @@
23 23
         <action android:name="android.intent.action.VIEW" />
24 24
         <category android:name="android.intent.category.BROWSABLE" />
25 25
         <category android:name="android.intent.category.DEFAULT" />
26
-        <data android:host="beta.hipchat.me" android:scheme="https" />
27 26
         <data android:host="beta.meet.jit.si" android:scheme="https" />
28
-        <data android:host="chaos.hipchat.me" android:scheme="https" />
29
-        <data android:host="enso.me" android:scheme="https" />
30
-        <data android:host="hipchat.me" android:scheme="https" />
31 27
         <data android:host="meet.jit.si" android:scheme="https" />
32 28
       </intent-filter>
33 29
       <intent-filter>

+ 0
- 4
ios/app/app.entitlements Datei anzeigen

@@ -5,10 +5,6 @@
5 5
 	<key>com.apple.developer.associated-domains</key>
6 6
 	<array>
7 7
 		<string>applinks:beta.meet.jit.si</string>
8
-		<string>applinks:beta.hipchat.me</string>
9
-		<string>applinks:chaos.hipchat.me</string>
10
-		<string>applinks:enso.me</string>
11
-		<string>applinks:hipchat.me</string>
12 8
 		<string>applinks:meet.jit.si</string>
13 9
 	</array>
14 10
 </dict>

+ 0
- 4
react/features/base/known-domains/reducer.js Datei anzeigen

@@ -17,11 +17,7 @@ import { ADD_KNOWN_DOMAINS } from './actionTypes';
17 17
  * out of the Andorid manifest.
18 18
  */
19 19
 export const DEFAULT_STATE = [
20
-    'beta.hipchat.me',
21 20
     'beta.meet.jit.si',
22
-    'chaos.hipchat.me',
23
-    'enso.me',
24
-    'hipchat.me',
25 21
     'meet.jit.si'
26 22
 ];
27 23
 

+ 1
- 46
react/features/base/util/uri.js Datei anzeigen

@@ -57,49 +57,6 @@ function _fixRoom(room: ?string) {
57 57
         : room;
58 58
 }
59 59
 
60
-/**
61
- * Fixes the hier-part of a specific URI (string) so that the URI is well-known.
62
- * For example, certain Jitsi Meet deployments are not conventional but it is
63
- * possible to translate their URLs into conventional.
64
- *
65
- * @param {string} uri - The URI (string) to fix the hier-part of.
66
- * @private
67
- * @returns {string}
68
- */
69
-function _fixURIStringHierPart(uri) {
70
-    // Rewrite the specified URL in order to handle special cases such as
71
-    // hipchat.com and enso.me which do not follow the common pattern of most
72
-    // Jitsi Meet deployments.
73
-
74
-    // hipchat.com
75
-    let regex
76
-        = new RegExp(
77
-            `^${URI_PROTOCOL_PATTERN}//hipchat\\.com/video/call/`,
78
-            'gi');
79
-    let match: Array<string> | null = regex.exec(uri);
80
-
81
-    if (!match) {
82
-        // enso.me
83
-        regex
84
-            = new RegExp(
85
-                `^${URI_PROTOCOL_PATTERN}//enso\\.me/(?:call|meeting)/`,
86
-                'gi');
87
-        match = regex.exec(uri);
88
-    }
89
-    if (match) {
90
-        /* eslint-disable no-param-reassign, prefer-template */
91
-
92
-        uri
93
-            = match[1] /* protocol */
94
-                + '//enso.hipchat.me/'
95
-                + uri.substring(regex.lastIndex); /* room (name) */
96
-
97
-        /* eslint-enable no-param-reassign, prefer-template */
98
-    }
99
-
100
-    return uri;
101
-}
102
-
103 60
 /**
104 61
  * Fixes the scheme part of a specific URI (string) so that it contains a
105 62
  * well-known scheme such as HTTP(S). For example, the mobile app implements an
@@ -316,9 +273,7 @@ export function parseURIString(uri: ?string) {
316 273
         return undefined;
317 274
     }
318 275
 
319
-    const obj
320
-        = parseStandardURIString(
321
-            _fixURIStringHierPart(_fixURIStringScheme(uri)));
276
+    const obj = parseStandardURIString(_fixURIStringScheme(uri));
322 277
 
323 278
     // Add the properties that are specific to a Jitsi Meet resource (location)
324 279
     // such as contextRoot, room:

Laden…
Abbrechen
Speichern