mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
Remove logic show toolbar on new message received (#12488)
This commit is contained in:
committed by
GitHub
parent
a995b33753
commit
36bef94c3c
@@ -401,7 +401,6 @@ function _handleReceivedMessage({ dispatch, getState }: IStore,
|
||||
// Logic for all platforms:
|
||||
const state = getState();
|
||||
const { isOpen: isChatOpen } = state['features/chat'];
|
||||
const { iAmRecorder } = state['features/base/config'];
|
||||
const { soundsIncomingMessage: soundEnabled, userSelectedNotifications } = state['features/base/settings'];
|
||||
|
||||
if (soundEnabled && shouldPlaySound && !isChatOpen) {
|
||||
@@ -454,10 +453,6 @@ function _handleReceivedMessage({ dispatch, getState }: IStore,
|
||||
privateMessage,
|
||||
ts: timestamp
|
||||
});
|
||||
|
||||
if (!iAmRecorder) {
|
||||
dispatch(showToolbox(4000));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user