Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Calin-Teodor2a0b87ee3eaa
diff --git a/react/features/filmstrip/components/native/Thumbnail.js b/react/features/filmstrip/components/native/Thumbnail.js
index 78ad3e9461..55b7349dd2 100644
--- a/react/features/filmstrip/components/native/Thumbnail.js
+++ b/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
}
/**