|
@@ -268,8 +268,10 @@ RemoteVideo.prototype.showPeerContainer = function (state) {
|
268
|
268
|
resizeThumbnails = true;
|
269
|
269
|
$(this.container).show();
|
270
|
270
|
}
|
271
|
|
-
|
272
|
|
- this.showAvatar(state !== 'show');
|
|
271
|
+ // Call showAvatar with undefined, so that we'll figure out if avatar
|
|
272
|
+ // should be displayed based on video muted status and whether or not
|
|
273
|
+ // it's in the lastN set
|
|
274
|
+ this.showAvatar(undefined);
|
273
|
275
|
}
|
274
|
276
|
else if ($(this.container).is(':visible') && isHide)
|
275
|
277
|
{
|