generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mautrix-discord): add double pupetting
- Loading branch information
1 parent
4a11062
commit d2f4a8b
Showing
4 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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 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
22 changes: 22 additions & 0 deletions
22
kubernetes/apps/matrix/mautrix-discord/app/resources/double-puppet-registration.yaml
This file contains 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,22 @@ | ||
--- | ||
# The ID doesn't really matter, put whatever you want. | ||
id: doublepuppet | ||
# The URL is intentionally left empty (null), as the homeserver shouldn't | ||
# push events anywhere for this extra appservice. If you use a | ||
# non-spec-compliant server, you may need to put some fake URL here. | ||
url: | ||
# Generate random strings for these three fields. Only the as_token really | ||
# matters, hs_token is never used because there's no url, and the default | ||
# user (sender_localpart) is never used either. | ||
as_token: {{ .DOUBLE_PUPPET_AS_TOKEN }} | ||
hs_token: {{ .DOUBLE_PUPPET_HS_TOKEN }} | ||
sender_localpart: {{ .DOUBLE_PUPPET_LOCAL_PART }} | ||
# Bridges don't like ratelimiting. This should only apply when using the | ||
# as_token, normal user tokens will still be ratelimited. | ||
rate_limited: false | ||
namespaces: | ||
users: | ||
# Replace your\.domain with your server name (escape dots for regex) | ||
- regex: '@.*:${SECRET_DOMAIN/./\\.}' | ||
# This must be false so the appservice doesn't take over all users completely. | ||
exclusive: false |