[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:
parent
a2bf0f013f
commit
53c51feca2
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue