Merge remote-tracking branch 'origin/develop' into dbkr/udd_no_auto_show
This commit is contained in:
commit
f8fc6dc83e
69 changed files with 3101 additions and 1068 deletions
|
@ -52,7 +52,6 @@ limitations under the License.
|
|||
*/
|
||||
|
||||
import MatrixClientPeg from './MatrixClientPeg';
|
||||
import UserSettingsStore from './UserSettingsStore';
|
||||
import PlatformPeg from './PlatformPeg';
|
||||
import Modal from './Modal';
|
||||
import sdk from './index';
|
||||
|
@ -60,6 +59,7 @@ import { _t } from './languageHandler';
|
|||
import Matrix from 'matrix-js-sdk';
|
||||
import dis from './dispatcher';
|
||||
import { getUnknownDevicesForRoom } from './cryptodevices';
|
||||
import SettingsStore from "./settings/SettingsStore";
|
||||
|
||||
global.mxCalls = {
|
||||
//room_id: MatrixCall
|
||||
|
@ -262,7 +262,7 @@ function _onAction(payload) {
|
|||
} else if (members.length === 2) {
|
||||
console.log("Place %s call in %s", payload.type, payload.room_id);
|
||||
const call = Matrix.createNewMatrixCall(MatrixClientPeg.get(), payload.room_id, {
|
||||
forceTURN: UserSettingsStore.getLocalSetting('webRtcForceTURN', false),
|
||||
forceTURN: SettingsStore.getValue('webRtcForceTURN'),
|
||||
});
|
||||
placeCall(call);
|
||||
} else { // > 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue