From f6ca8376467688a4c9fc140555a21a20001e03d4 Mon Sep 17 00:00:00 2001 From: Torjus Date: Tue, 31 Jul 2018 10:39:01 +0200 Subject: [PATCH] Remove old notification functionality --- app/lib/RoomClient.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/lib/RoomClient.js b/app/lib/RoomClient.js index 0d1873b..094a82c 100644 --- a/app/lib/RoomClient.js +++ b/app/lib/RoomClient.js @@ -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; }