mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Merge pull request #1544 from matrix-org/luke/groups-store-add-unregister-api
Add unregiseterListener to GroupStore
This commit is contained in:
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
Block a user