|
|
|
@@ -11,10 +11,10 @@ This documentation page only deals with the bridge's ability to bridge to Instag |
|
|
|
|
|
|
|
If you've been using the [mautrix-instagram](./configuring-playbook-bridge-mautrix-instagram.md) bridge, **you'd better get rid of it first** or the 2 bridges will be in conflict: |
|
|
|
|
|
|
|
- both trying to use `@instagrambot:YOUR_DOMAIN` as their username. This conflict may be resolved by adjusting `matrix_mautrix_instagram_appservice_bot_username` or `matrix_mautrix_meta_instagram_appservice_username` |
|
|
|
- both trying to use `@instagrambot:example.com` as their username. This conflict may be resolved by adjusting `matrix_mautrix_instagram_appservice_bot_username` or `matrix_mautrix_meta_instagram_appservice_username` |
|
|
|
- both trying to bridge the same DMs |
|
|
|
|
|
|
|
To do so, send a `clean-rooms` command to the management room with the old bridge bot (`@instagrambot:YOUR_DOMAIN`). |
|
|
|
To do so, send a `clean-rooms` command to the management room with the old bridge bot (`@instagrambot:example.com`). |
|
|
|
|
|
|
|
This would give you a list of portals and groups of portals you may purge. Proceed with sending commands like `clean recommended`, etc. |
|
|
|
|
|
|
|
@@ -47,17 +47,17 @@ The default permissions are set via `matrix_mautrix_meta_instagram_bridge_permis |
|
|
|
```yaml |
|
|
|
matrix_mautrix_meta_instagram_bridge_permissions_default: |
|
|
|
'*': relay |
|
|
|
YOUR_DOMAIN: user |
|
|
|
example.com: user |
|
|
|
'{{ matrix_admin }}': admin |
|
|
|
``` |
|
|
|
|
|
|
|
If you don't define the `matrix_admin` in your configuration (e.g. `matrix_admin: @user:YOUR_DOMAIN`), then there's no admin by default. |
|
|
|
If you don't define the `matrix_admin` in your configuration (e.g. `matrix_admin: @user:example.com`), then there's no admin by default. |
|
|
|
|
|
|
|
You may redefine `matrix_mautrix_meta_instagram_bridge_permissions_default` any way you see fit, or add extra permissions using `matrix_mautrix_meta_instagram_bridge_permissions_custom` like this: |
|
|
|
|
|
|
|
```yaml |
|
|
|
matrix_mautrix_meta_instagram_bridge_permissions_custom: |
|
|
|
'@YOUR_USERNAME:YOUR_DOMAIN': admin |
|
|
|
'@YOUR_USERNAME:example.com': admin |
|
|
|
``` |
|
|
|
|
|
|
|
You may wish to look at `roles/custom/matrix-bridge-mautrix-meta-instagram/templates/config.yaml.j2` to find more information on the permissions settings and other options you would like to configure. |
|
|
|
@@ -91,4 +91,4 @@ When using this method, **each user** that wishes to enable Double Puppeting nee |
|
|
|
|
|
|
|
## Usage |
|
|
|
|
|
|
|
You then need to start a chat with `@instagrambot:YOUR_DOMAIN` (where `YOUR_DOMAIN` is your base domain, not the `matrix.` domain). |
|
|
|
You then need to start a chat with `@instagrambot:example.com` (where `example.com` is your base domain, not the `matrix.` domain). |