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

Don't consider ACL'd servers as permalink candidates #2331

Merged
merged 2 commits into from
Dec 7, 2018

Conversation

turt2live
Copy link
Member

Requires matrix-org/matrix-js-sdk#800
Fixes element-hq/element-web#7752
Fixes element-hq/element-web#7682

Also fixes the bug where it was picking 4 servers instead of 3. This was due to <= instead of < in the MAX_SERVER_CANDIDATES loop. Added tests for all the things.

and fix the bug where it was picking 4 servers instead of 3. This was due to `<=` instead of `<` in the `MAX_SERVER_CANDIDATES` loop. Added tests for all the things.

Fixes element-hq/element-web#7752
Fixes element-hq/element-web#7682
@turt2live turt2live requested a review from a team December 6, 2018 01:05
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice if the ACL parsing stuff was split out somewhere common: possibly even as an API exposed by the js-sdk. Maybe one for the future though so lgtm.

@turt2live
Copy link
Member Author

Probably worth pulling it out to the js-sdk (and improving it) when we figure out how the UI should work for setting/modifying ACLs. I'm not super convinced it is in a state of utility right now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants