mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 15:08:24 +00:00
Fix bug with removing matrix listeners
This commit is contained in:
@@ -66,7 +66,7 @@ export function createMatrixActionCreator(matrixClient, eventId) {
|
||||
return () => {
|
||||
matrixClient.on(eventId, listener);
|
||||
return () => {
|
||||
matrixClient.removeListener(listener);
|
||||
matrixClient.removeListener(eventId, listener);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user