From 175fadbb57a4c8330aff6482f347844258b58a34 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Fri, 27 Oct 2017 14:33:10 +0100 Subject: [PATCH] Add unregiseterListener to GroupStore --- src/stores/GroupStore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/stores/GroupStore.js b/src/stores/GroupStore.js index e169e13ddc..66bc293b44 100644 --- a/src/stores/GroupStore.js +++ b/src/stores/GroupStore.js @@ -92,6 +92,10 @@ export default class GroupStore extends EventEmitter { this._fetchMembers(); } + unregisterListener(fn) { + this.removeListener('update', fn); + } + getSummary() { return this._summary; }