Skip to content

Commit 68eac5b

Browse files
committed
Fix bug
1 parent a22a625 commit 68eac5b

File tree

1 file changed

+2
-1
lines changed
  • bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item

1 file changed

+2
-1
lines changed

bigbluebutton-html5/imports/ui/components/video-provider/video-list/video-list-item/component.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class VideoListItem extends Component {
207207

208208
const pinned = user?.pin;
209209
const userId = user?.userId;
210+
const presenter = user?.presenter;
210211

211212
const isPinnedIntlKey = !pinned ? 'pin' : 'unpin';
212213
const isFocusedIntlKey = !focused ? 'focus' : 'unfocus';
@@ -238,7 +239,7 @@ class VideoListItem extends Component {
238239
});
239240
}
240241

241-
if (!user.presenter && allowedToSetPresenter && isMeteorConnected && !isDialInUser) {
242+
if (!presenter && allowedToSetPresenter && isMeteorConnected && !isDialInUser) {
242243
menuItems.push({
243244
key: `${cameraId}-setPresenter`,
244245
label: isMe(userId)

0 commit comments

Comments
 (0)