mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 06:21:03 +02:00
EventIndexPanel: Fix the removal of the updateCurrentRoom listeners.
The event listeners that update the current room and try to get the current stats from the event index don't seem to be unmounted because this != this confusion. Turning them into arrow methods of the react class fixes this.
This commit is contained in:
parent
2dd093de49
commit
9e3b0fdf7c