mirror of https://github.com/vector-im/riot-web
Add unregiseterListener to GroupStore
parent
a7379db1c2
commit
175fadbb57
|
@ -92,6 +92,10 @@ export default class GroupStore extends EventEmitter {
|
||||||
this._fetchMembers();
|
this._fetchMembers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unregisterListener(fn) {
|
||||||
|
this.removeListener('update', fn);
|
||||||
|
}
|
||||||
|
|
||||||
getSummary() {
|
getSummary() {
|
||||||
return this._summary;
|
return this._summary;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue