Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Internalize algorithm updates in the new room list store #4951

Merged
merged 1 commit into from
Jul 11, 2020

Conversation

turt2live
Copy link
Member

Fixes element-hq/element-web#14411
For element-hq/element-web#13635

The act of setting/changing the algorithm was causing the update function to be marked, meaning we wouldn't trigger an update until something else happened later. To get around this, and still support internal functions spamming calls without multiple updates, we simply move the guts to an internalized function and make the public interface do a trigger.

Fixes element-hq/element-web#14411

The act of setting/changing the algorithm was causing the update function to be marked, meaning we wouldn't trigger an update until something else happened later. To get around this, and still support internal functions spamming calls without multiple updates, we simply move the guts to an internalized function and make the public interface do a trigger.
@turt2live turt2live requested a review from a team July 11, 2020 03:59
@turt2live turt2live merged commit 31f1fbd into develop Jul 11, 2020
@turt2live turt2live deleted the travis/room-list/fix-sublist-menu branch July 11, 2020 18:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New room list: sublist menu is borked
2 participants