From 2913d396ef93df71e90b520412bad2fda6a4e71f Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Mon, 20 Nov 2017 11:34:20 +0000 Subject: [PATCH] Remove redundant super class EventEmitter for FlairStore , which seemingly is not being used. --- src/stores/FlairStore.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/stores/FlairStore.js b/src/stores/FlairStore.js index 5286c40e39..55c4978925 100644 --- a/src/stores/FlairStore.js +++ b/src/stores/FlairStore.js @@ -14,7 +14,6 @@ See the License for the specific language governing permissions and limitations under the License. */ -import EventEmitter from 'events'; import Promise from 'bluebird'; const BULK_REQUEST_DEBOUNCE_MS = 200; @@ -29,9 +28,8 @@ const GROUP_PROFILES_CACHE_BUST_MS = 1800000; // 30 mins /** * Stores data used by */ -class FlairStore extends EventEmitter { +class FlairStore { constructor(matrixClient) { - super(); this._matrixClient = matrixClient; this._userGroups = { // $userId: ['+group1:domain', '+group2:domain', ...]