Skip to content

Commit

Permalink
Switch most bridges to as_token double puppeting
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 29, 2023
1 parent 8e3ed04 commit e51f4cc
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bridgeconfig/discord.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ bridge:
# instead of users having to find an access token and run `login-matrix`
# manually.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"

# The prefix for commands. Only required in non-management rooms.
command_prefix: '!discord'
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/facebook.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ bridge:
# If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Should presence from Facebook be bridged? This doesn't use the same API as the Android app,
# so it might be more suspicious to Facebook.
presence_from_facebook: false
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/gmessages.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ bridge:
# instead of users having to find an access token and run `login-matrix`
# manually.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"

# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/googlechat.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ bridge:
# If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Whether or not to update avatars when syncing all contacts at startup.
update_avatar_initial_sync: true
# End-to-bridge encryption support options.
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/instagram.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ bridge:
# If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
federate_rooms: false
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/signal.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ bridge:
# instead of users having to find an access token and run `login-matrix`
# manually.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"

# Maximum time for handling Matrix events. Duration strings formatted for https://pkg.go.dev/time#ParseDuration
# Null means there's no enforced timeout.
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/telegram.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ bridge:
# If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Set to false to disable link previews in messages sent to Telegram.
telegram_link_preview: true
# Whether or not the !tg join command should do a HTTP request
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/twitter.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ bridge:
# If using this for other servers than the bridge's server,
# you must also set the URL in the double_puppet_server_map.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
federate_rooms: false
Expand Down
2 changes: 1 addition & 1 deletion bridgeconfig/whatsapp.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bridge:
# instead of users having to find an access token and run `login-matrix`
# manually.
login_shared_secret_map:
{{ .BeeperDomain }}: appservice
{{ .BeeperDomain }}: "as_token:{{ .ASToken }}"
# Whether to explicitly set the avatar and room name for private chat portal rooms.
# If set to `default`, this will be enabled in encrypted rooms and disabled in unencrypted rooms.
# If set to `always`, all DM rooms will have explicit names and avatars set.
Expand Down

0 comments on commit e51f4cc

Please sign in to comment.