Remove old notification functionality
This commit is contained in:
1 parent
8bf2aed6de
commit
f6ca837646
1 file changed
-10
@@ -1149,16 +1149,6 @@ export default class RoomClient
|
||||
this._dispatch(
|
||||
stateActions.addResponseMessage({ ...chatMessage, peerName }));
|
||||
|
||||
const toolAreaState = this._getState().toolarea;
|
||||
|
||||
// Notify about the new file, unless the chat is open.
|
||||
if (chatMessage.file && !(toolAreaState.toolAreaOpen && toolAreaState.currentToolTab === 'chat'))
|
||||
{
|
||||
this._dispatch(
|
||||
requestActions.notify({ text: `${chatMessage.name} shared a file` })
|
||||
);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user