mirror of https://github.com/vector-im/riot-web
Merge pull request #1544 from matrix-org/luke/groups-store-add-unregister-api
Add unregiseterListener to GroupStorepull/21833/head
commit
b421fd05ef
|
@ -92,6 +92,10 @@ export default class GroupStore extends EventEmitter {
|
|||
this._fetchMembers();
|
||||
}
|
||||
|
||||
unregisterListener(fn) {
|
||||
this.removeListener('update', fn);
|
||||
}
|
||||
|
||||
getSummary() {
|
||||
return this._summary;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue