feat(filmstrip): update method to match meeting participant item onpress method

pull/13165/head
Calin-Teodor 2 years ago committed by Calinteodor
parent ff83276a2b
commit 2a0b87ee3e
  1. 15
      react/features/filmstrip/components/native/Thumbnail.js

@ -27,6 +27,7 @@ import ConnectionIndicator from '../../../connection-indicator/components/native
import DisplayNameLabel from '../../../display-name/components/native/DisplayNameLabel';
import { getGifDisplayMode, getGifForParticipant } from '../../../gifs/functions';
import {
showConnectionStatus,
showContextMenuDetails,
showSharedVideoMenu
} from '../../../participants-pane/actions.native';
@ -187,13 +188,13 @@ class Thumbnail extends PureComponent<Props> {
if (_fakeParticipant && _localVideoOwner) {
dispatch(showSharedVideoMenu(_participantId));
}
// TODO: add support for getting info about the virtual screen shares.
if (!_fakeParticipant) {
dispatch(showContextMenuDetails(_participantId, _local));
}
} else if (!_fakeParticipant) {
if (_local) {
dispatch(showConnectionStatus(_participantId));
} else {
dispatch(showContextMenuDetails(_participantId));
}
} // else no-op
}
/**

Loading…
Cancel
Save