mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Add unregiseterListener to GroupStore
This commit is contained in:
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
Block a user