[FIX] Generate Jitsi access token when making a call (#2694)

fixes: #2693

 # Please enter the commit message for your changes. Lines starting

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Sumukha Hegde 2021-01-04 19:04:29 +05:30 committed by GitHub
parent a2bf0f013f
commit 53c51feca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@ import {
} from '../actions/app'; } from '../actions/app';
import { localAuthenticate } from '../utils/localAuthentication'; import { localAuthenticate } from '../utils/localAuthentication';
import { goRoom } from '../utils/goRoom'; import { goRoom } from '../utils/goRoom';
import callJitsi from '../lib/methods/callJitsi';
const roomTypes = { const roomTypes = {
channel: 'c', direct: 'd', group: 'p', channels: 'l' channel: 'c', direct: 'd', group: 'p', channels: 'l'
@ -54,7 +53,7 @@ const navigate = function* navigate({ params }) {
yield goRoom({ item, isMasterDetail }); yield goRoom({ item, isMasterDetail });
if (params.isCall) { if (params.isCall) {
callJitsi(item.rid); RocketChat.callJitsi(item.rid);
} }
} }
} else { } else {