|
@@ -28,8 +28,9 @@ export default class JitsiParticipant {
|
28
|
28
|
* represent a hidden participant; otherwise, false.
|
29
|
29
|
* @param {string} statsID - optional participant statsID
|
30
|
30
|
* @param {string} status - the initial status if any.
|
|
31
|
+ * @param {object} identity - the xmpp identity
|
31
|
32
|
*/
|
32
|
|
- constructor(jid, conference, displayName, hidden, statsID, status) {
|
|
33
|
+ constructor(jid, conference, displayName, hidden, statsID, status, identity) {
|
33
|
34
|
this._jid = jid;
|
34
|
35
|
this._id = Strophe.getResourceFromJid(jid);
|
35
|
36
|
this._conference = conference;
|
|
@@ -42,6 +43,7 @@ export default class JitsiParticipant {
|
42
|
43
|
this._statsID = statsID;
|
43
|
44
|
this._connectionStatus = ParticipantConnectionStatus.ACTIVE;
|
44
|
45
|
this._properties = {};
|
|
46
|
+ this._identity = identity;
|
45
|
47
|
}
|
46
|
48
|
|
47
|
49
|
/* eslint-enable max-params */
|