You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Add unregiseterListener to GroupStore
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user