Skip to content

Commit

Permalink
Merge pull request #1677 from MrAnno/remove-community-support
Browse files Browse the repository at this point in the history
Remove deprecated community options
  • Loading branch information
spantaleev committed Mar 6, 2022
2 parents 20b7e99 + ba68d2a commit 1bea072
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 49 deletions.
25 changes: 0 additions & 25 deletions docs/configuring-playbook-bridge-mautrix-facebook.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,31 +70,6 @@ If you run into trouble, check the [Troubleshooting](#troubleshooting) section b
After successfully enabling bridging, you may wish to [set up Double Puppeting](#set-up-double-puppeting), if you haven't already done so.


## Set up community-grouping

This is an **optional feature** that you may wish to enable.

The Facebook bridge can create a Matrix community for you, which would contain all your chats and contacts.

For this to work, the bridge's bot needs to have permissions to create communities (also referred to as groups).
Since the bot is a non-admin user, you need to enable such group-creation for non-privileged users in [Synapse's settings](configuring-playbook-synapse.md).

Here's an example configuration:

```yaml
matrix_synapse_configuration_extension_yaml: |
enable_group_creation: true
group_creation_prefix: "unofficial/"
matrix_mautrix_facebook_configuration_extension_yaml: |
bridge:
community_template: "unofficial/facebook_{localpart}={server}"
```

Once the bridge is restarted, it would create a community and invite you to it. You need to accept the community invitation manually.
If you don't see all your contacts, you may wish to send a `sync` message to the bot.


## Troubleshooting

### Facebook rejecting login attempts and forcing you to change password
Expand Down
6 changes: 0 additions & 6 deletions roles/matrix-bridge-mautrix-facebook/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ bridge:
# Localpart template of MXIDs for Facebook users.
# {userid} is replaced with the user ID of the Facebook user.
username_template: "facebook_{userid}"
# Localpart template for per-user room grouping community IDs.
# The bridge will create these communities and add all of the specific user's portals to the community.
# {localpart} is the MXID localpart and {server} is the MXID server part of the user.
#
# `facebook_{localpart}={server}` is a good value.
community_template: null
# Displayname template for Facebook users.
# {displayname} is replaced with the display name of the Facebook user
# as defined below in displayname_preference.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@ appservice:
bot_displayname: Instagram bridge bot
bot_avatar: mxc://maunium.net/JxjlbZUlCPULEeHZSwleUXQv

# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.
#
# Example: "+instagram:example.com". Set to false to disable.
community_id: false

# Whether or not to receive ephemeral events via appservice transactions.
# Requires MSC2409 support (i.e. Synapse 1.22+).
# You should disable bridge -> sync_with_custom_puppets when this is enabled.
Expand Down
6 changes: 0 additions & 6 deletions roles/matrix-bridge-mautrix-signal/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ appservice:
bot_displayname: Signal bridge bot
bot_avatar: mxc://maunium.net/wPJgTQbZOtpBFmDNkiNEMDUp

# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.
#
# Example: "+signal:example.com". Set to false to disable.
community_id: false

# Whether or not to receive ephemeral events via appservice transactions.
# Requires MSC2409 support (i.e. Synapse 1.22+).
# You should disable bridge -> sync_with_custom_puppets when this is enabled.
Expand Down
6 changes: 0 additions & 6 deletions roles/matrix-bridge-mautrix-twitter/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ appservice:
bot_displayname: Twitter bridge bot
bot_avatar: mxc://maunium.net/HVHcnusJkQcpVcsVGZRELLCn

# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.
#
# Example: "+twitter:example.com". Set to false to disable.
community_id: false

# Whether or not to receive ephemeral events via appservice transactions.
# Requires MSC2409 support (i.e. Synapse 1.22+).
# You should disable bridge -> sync_with_custom_puppets when this is enabled.
Expand Down

0 comments on commit 1bea072

Please sign in to comment.