|
@@ -1160,16 +1160,17 @@ JitsiConference.prototype.muteParticipant = function(id) {
|
1160
|
1160
|
* @param isHidden indicates if this is a hidden participant (system
|
1161
|
1161
|
* participant for example a recorder).
|
1162
|
1162
|
* @param statsID the participant statsID (optional)
|
|
1163
|
+ * @param status the initial status if any
|
1163
|
1164
|
*/
|
1164
|
1165
|
JitsiConference.prototype.onMemberJoined = function(
|
1165
|
|
- jid, nick, role, isHidden, statsID) {
|
|
1166
|
+ jid, nick, role, isHidden, statsID, status) {
|
1166
|
1167
|
const id = Strophe.getResourceFromJid(jid);
|
1167
|
1168
|
|
1168
|
1169
|
if (id === 'focus' || this.myUserId() === id) {
|
1169
|
1170
|
return;
|
1170
|
1171
|
}
|
1171
|
1172
|
const participant
|
1172
|
|
- = new JitsiParticipant(jid, this, nick, isHidden, statsID);
|
|
1173
|
+ = new JitsiParticipant(jid, this, nick, isHidden, statsID, status);
|
1173
|
1174
|
|
1174
|
1175
|
participant._role = role;
|
1175
|
1176
|
this.participants[id] = participant;
|