You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2026-01-03 21:42:32 +03:00
preserve outer this with arrow function
This commit is contained in:
@@ -68,7 +68,7 @@ class CustomRoomTagStore extends EventEmitter {
|
||||
addListener(callback) {
|
||||
this.on("change", callback);
|
||||
return {
|
||||
remove() {
|
||||
remove: () => {
|
||||
this.removeListener("change", callback);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user