|
@@ -16,7 +16,7 @@ import { getLocalParticipant } from '../../react/features/base/participants';
|
16
|
16
|
import { toggleChat } from '../../react/features/chat';
|
17
|
17
|
import { setDocumentUrl } from '../../react/features/etherpad';
|
18
|
18
|
import { setFilmstripVisible } from '../../react/features/filmstrip';
|
19
|
|
-import { setNotificationsEnabled } from '../../react/features/notifications';
|
|
19
|
+import { joinLeaveNotificationsDisabled, setNotificationsEnabled } from '../../react/features/notifications';
|
20
|
20
|
import {
|
21
|
21
|
dockToolbox,
|
22
|
22
|
setToolboxEnabled,
|
|
@@ -327,7 +327,9 @@ UI.updateUserStatus = (user, status) => {
|
327
|
327
|
const reduxState = APP.store.getState() || {};
|
328
|
328
|
const { calleeInfoVisible } = reduxState['features/invite'] || {};
|
329
|
329
|
|
330
|
|
- if (!status || calleeInfoVisible) {
|
|
330
|
+ // We hide status updates when join/leave notifications are disabled,
|
|
331
|
+ // as jigasi is the component with statuses and they are seen as join/leave notifications.
|
|
332
|
+ if (!status || calleeInfoVisible || joinLeaveNotificationsDisabled()) {
|
331
|
333
|
return;
|
332
|
334
|
}
|
333
|
335
|
|