             mainCallAvatarImageView.setImageURI(avatarUrl,
                                                 withType: nil,
                                                 andImageOrientation: .up,
-                                                toFitViewSize: mainCallAvatarImageView.bounds.size,
-                                                with: MXThumbnailingMethodCrop,
                                                 previewImage: mainCallPlaceholder,
                                                 mediaManager: session.mediaManager)
         } else {

            onHoldCallAvatarImageView.setImageURI(avatarUrl,
                                                  withType: nil,
                                                  andImageOrientation: .up,
                                                  toFitViewSize: onHoldCallAvatarImageView.bounds.size,
                                                  with: MXThumbnailingMethodCrop,
                                                  previewImage: onHoldCallPlaceholder,
                                                  mediaManager: session.mediaManager)
        } else {

            bgImageView.setImageURI(avatarUrl,
                                    withType: nil,
                                    andImageOrientation: .up,
                                    previewImage: bgPlaceholder,
                                    mediaManager: session.mediaManager)
            
