Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double bridging rule files #669

Merged
merged 11 commits into from
Oct 12, 2018
Merged

Conversation

Half-Shot
Copy link
Contributor

Depends on: matrix-org/matrix-appservice-bridge#85

This change allows you to do rule specifying on what is allowed to be provisioned to avoid some cases of double bridging. New provision requests would check against the rule file to see if the members in a certain room were excluded from being bridged e.g. not mixing "@snoonet-irc:matrix.org" and "@gimpnet-irc:matrix.org" in the same room.

This doesn't yet affect existing bridged rooms, which would need us to manually intervene.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM, pending matrix-org/matrix-appservice-bridge#85

@@ -0,0 +1,10 @@
# A set of regexes to match against joined members in rooms.
Copy link
Member

Choose a reason for hiding this comment

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

This file should probably have a more descriptive name, like 'provisioning.rules.sample.yaml'.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

still LGTM

@Half-Shot Half-Shot merged commit 8c2f90c into matrix-org:develop Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants