Merge pull request #3679 from luixxiul/fix

Fix indentations of list items
This commit is contained in:
Slavi Pantaleev 2024-10-25 12:15:43 +03:00 committed by GitHub
commit 65db73e808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 117 additions and 110 deletions

View File

@ -23,11 +23,14 @@ matrix_appservice_discord_enabled: true
matrix_appservice_discord_client_id: "YOUR DISCORD APP CLIENT ID" matrix_appservice_discord_client_id: "YOUR DISCORD APP CLIENT ID"
matrix_appservice_discord_bot_token: "YOUR DISCORD APP BOT TOKEN" matrix_appservice_discord_bot_token: "YOUR DISCORD APP BOT TOKEN"
``` ```
5. As of Synapse 1.90.0, you will need to add the following to `matrix_synapse_configuration_extension_yaml` to enable the [backwards compatibility](https://matrix-org.github.io/synapse/latest/upgrade#upgrading-to-v1900) that this bridge needs: 5. As of Synapse 1.90.0, you will need to add the following to `matrix_synapse_configuration_extension_yaml` to enable the [backwards compatibility](https://matrix-org.github.io/synapse/latest/upgrade#upgrading-to-v1900) that this bridge needs:
```yaml ```yaml
matrix_synapse_configuration_extension_yaml: | matrix_synapse_configuration_extension_yaml: |
use_appservice_legacy_authorization: true use_appservice_legacy_authorization: true
``` ```
**Note**: This deprecated method is considered insecure. **Note**: This deprecated method is considered insecure.
6. If you've already installed Matrix services using the playbook before, you'll need to re-run it (`--tags=setup-all,start`). If not, proceed with [configuring other playbook services](configuring-playbook.md) and then with [Installing](installing.md). Get back to this guide once ready. 6. If you've already installed Matrix services using the playbook before, you'll need to re-run it (`--tags=setup-all,start`). If not, proceed with [configuring other playbook services](configuring-playbook.md) and then with [Installing](installing.md). Get back to this guide once ready.

View File

@ -26,10 +26,12 @@ matrix_appservice_webhooks_log_level: '<log_level>'
``` ```
3. As of Synapse 1.90.0, you will need to add the following to `matrix_synapse_configuration_extension_yaml` to enable the [backwards compatibility](https://matrix-org.github.io/synapse/latest/upgrade#upgrading-to-v1900) that this bridge needs: 3. As of Synapse 1.90.0, you will need to add the following to `matrix_synapse_configuration_extension_yaml` to enable the [backwards compatibility](https://matrix-org.github.io/synapse/latest/upgrade#upgrading-to-v1900) that this bridge needs:
```yaml ```yaml
matrix_synapse_configuration_extension_yaml: | matrix_synapse_configuration_extension_yaml: |
use_appservice_legacy_authorization: true use_appservice_legacy_authorization: true
``` ```
**Note**: This deprecated method is considered insecure. **Note**: This deprecated method is considered insecure.
4. If you've already installed Matrix services using the playbook before, you'll need to re-run it (`--tags=setup-all,start`). If not, proceed with [configuring other playbook services](configuring-playbook.md) and then with [Installing](installing.md). Get back to this guide once ready. 4. If you've already installed Matrix services using the playbook before, you'll need to re-run it (`--tags=setup-all,start`). If not, proceed with [configuring other playbook services](configuring-playbook.md) and then with [Installing](installing.md). Get back to this guide once ready.
@ -43,11 +45,13 @@ matrix_synapse_configuration_extension_yaml: |
- or simply add the bridge bot to a private channel (personal channels imply you being an administrator) - or simply add the bridge bot to a private channel (personal channels imply you being an administrator)
7. Send a message to the bridge bot in order to receive a private message including the webhook link. 7. Send a message to the bridge bot in order to receive a private message including the webhook link.
``` ```
!webhook !webhook
``` ```
8. The JSON body for posting messages will have to look like this: 8. The JSON body for posting messages will have to look like this:
```json ```json
{ {
"text": "Hello world!", "text": "Hello world!",
@ -59,7 +63,7 @@ matrix_synapse_configuration_extension_yaml: |
You can test this via curl like so: You can test this via curl like so:
``` ```sh
curl --header "Content-Type: application/json" \ curl --header "Content-Type: application/json" \
--data '{ --data '{
"text": "Hello world!", "text": "Hello world!",