This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Allow a user who could join a restricted room to see it in spaces summary. #9922
Merged
Merged
Changes from 8 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
bce96c2
Allow a user who could join a restricted room to see it in spaces sum…
clokep 0a881ac
Check if the origin server can access a room when queried over federa…
clokep 45ad823
Check if an origin server has access to any spaces for a restricted r…
clokep 5225ef1
Do not revisit any of the rooms received over federation.
clokep 31bb2ad
Fix filtering for world readable rooms.
clokep 417aa6c
Abstract out a helper for checking if a space is in a list.
clokep 36d3932
Return the allowed spaces over federation and filter on it.
clokep 9157200
Remove unused variable.
clokep c97917b
Fix typo.
clokep ce8efa9
Split the method in two.
clokep 83974e8
Further split the methods.
clokep 3bd3fe0
Merge branch 'clokep/check-restricted-join-rules-2' into clokep/restr…
clokep 225e06d
Clarify comment.
clokep 7c28513
Clarify comments about when a room can be included.
clokep 7c0ec1a
Fix-up some type hints (and fix a bug about processed rooms).
clokep 4888f02
Further split the join rules checks.
clokep 9ba347b
Fix typo.
clokep fe1eb18
Remove some duplicated code.
clokep File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Experimental support to allow a user who could join a restricted room to view it in the spaces summary. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.