-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add configurable room list publishing rules #4647
Conversation
This allows specifying who and what is allowed to be published onto the public room list
Codecov Report
@@ Coverage Diff @@
## develop #4647 +/- ##
===========================================
+ Coverage 75.27% 75.27% +<.01%
===========================================
Files 338 338
Lines 34579 34620 +41
Branches 5655 5669 +14
===========================================
+ Hits 26030 26061 +31
- Misses 6959 6965 +6
- Partials 1590 1594 +4 |
Hopefully the comments make more sense now? |
And err, woops, about how to handle multiple aliases. I think the behaviour makes the most sense. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks sane, but I did a bunch of work recently in trying to make the default config a thing that people could understand, and I'm keen that we keep going in the right direction there.
# `alias_creation_rules`. | ||
# | ||
# If the room has one or more aliases associated with it, only one of | ||
# the aliases needs to match the alias rule. If there are no aliases |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does it even mean to publish a room in the room directory when it doesn't have an alias, ooi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a perfectly legit thing to do, while remote users wouldn't be able to join the room local users still would happily be able to.
Though I have a suspicion we might require an alias before we actually publish the room
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This allows specifying who and what is allowed to be published onto the
public room list.