|
|
@@ -6,7 +6,6 @@ const XMPPEvents = require('../../service/xmpp/XMPPEvents');
|
|
6
|
6
|
const JitsiRecorderErrors = require('../../JitsiRecorderErrors');
|
|
7
|
7
|
const GlobalOnErrorHandler = require('../util/GlobalOnErrorHandler');
|
|
8
|
8
|
|
|
9
|
|
-
|
|
10
|
9
|
function Recording(type, eventEmitter, connection, focusMucJid, jirecon,
|
|
11
|
10
|
roomjid) {
|
|
12
|
11
|
this.eventEmitter = eventEmitter;
|
|
|
@@ -18,8 +17,7 @@ function Recording(type, eventEmitter, connection, focusMucJid, jirecon,
|
|
18
|
17
|
this.type = type;
|
|
19
|
18
|
this._isSupported
|
|
20
|
19
|
= !(
|
|
21
|
|
- type === Recording.types.JIRECON
|
|
22
|
|
- && !this.jirecon
|
|
|
20
|
+ (type === Recording.types.JIRECON && !this.jirecon)
|
|
23
|
21
|
|| (type !== Recording.types.JIBRI
|
|
24
|
22
|
&& type !== Recording.types.COLIBRI));
|
|
25
|
23
|
|