|
|
@@ -69,7 +69,7 @@ function _connectionEstablished(state: Object, action: Object) {
|
|
69
|
69
|
* @private
|
|
70
|
70
|
* @returns {Object}
|
|
71
|
71
|
*/
|
|
72
|
|
-function _constructConnectionOptions(domain: string) {
|
|
|
72
|
+function _constructOptions(domain: string) {
|
|
73
|
73
|
// FIXME The HTTPS scheme for the BOSH URL works with meet.jit.si on both
|
|
74
|
74
|
// mobile & Web. It also works with beta.meet.jit.si on Web. Unfortunately,
|
|
75
|
75
|
// it doesn't work with beta.meet.jit.si on mobile. Temporarily, use the
|
|
|
@@ -96,7 +96,9 @@ function _constructConnectionOptions(domain: string) {
|
|
96
|
96
|
bosh: `${String(boshProtocol)}//${domain}/http-bind`,
|
|
97
|
97
|
hosts: {
|
|
98
|
98
|
domain,
|
|
99
|
|
- focus: `focus.${domain}`,
|
|
|
99
|
+
|
|
|
100
|
+ // Required by:
|
|
|
101
|
+ // - lib-jitsi-meet/modules/xmpp/xmpp.js
|
|
100
|
102
|
muc: `conference.${domain}`
|
|
101
|
103
|
}
|
|
102
|
104
|
};
|
|
|
@@ -114,9 +116,9 @@ function _constructConnectionOptions(domain: string) {
|
|
114
|
116
|
function _setDomain(state: Object, action: Object) {
|
|
115
|
117
|
return {
|
|
116
|
118
|
...state,
|
|
117
|
|
- connectionOptions: {
|
|
118
|
|
- ...state.connectionOptions,
|
|
119
|
|
- ..._constructConnectionOptions(action.domain)
|
|
|
119
|
+ options: {
|
|
|
120
|
+ ...state.options,
|
|
|
121
|
+ ..._constructOptions(action.domain)
|
|
120
|
122
|
}
|
|
121
|
123
|
};
|
|
122
|
124
|
}
|