Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
web,avatar: fix setting avatar size
Saúl Ibarra Corretgéfd0ca7625563
diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.jsindex 0dde9aadf2..96f4b9b04f 100644--- a/modules/UI/videolayout/SmallVideo.js+++ b/modules/UI/videolayout/SmallVideo.js@@ -557,24 +557,19 @@ SmallVideo.prototype._isHovered = function() {* Hides or shows the user's avatar.* This update assumes that large video had been updated and we will* reflect it on this small video.- *- * @param show whether we should show the avatar or not- * video because there is no dominant speaker and no focused speaker*/SmallVideo.prototype.updateView = function() {if (this.disableUpdateView) {return;}- if (!this.hasAvatar) {- if (this.id) {- // Init avatar- this.initializeAvatar();- } else {- logger.error('Unable to init avatar - no id', this);+ if (this.id) {+ // Init / refresh avatar+ this.initializeAvatar();+ } else {+ logger.error('Unable to init avatar - no id', this);- return;- }+ return;}this.$container.removeClass((index, classNames) =>@@ -621,7 +616,8 @@ SmallVideo.prototype.initializeAvatar = function() {<Provider store = { APP.store }><AvatarDisplayclassName = 'userAvatar'- participantId = { this.id } />+ participantId = { this.id }+ size = { this.$avatar().width() } /></Provider>,thumbnail);