Fix typo: builtin prosody wont stop when desactivated.

This commit is contained in:
John Livingston 2021-06-02 16:10:56 +02:00
parent 19c728455d
commit 83c2de963a
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## v2.3.1
### Fixes
* Fix typo: builtin prosody won't stop when desactivated.
## v2.3.0
### Features

View File

@ -209,7 +209,7 @@ Before asking for help, please use this diagnostic tool:
if (settings['chat-use-prosody'] === true) {
peertubeHelpers.logger.info('Saving settings, ensuring prosody is running')
await ensureProsodyRunning(options)
} else if (settings['chat-use-prody'] === false) {
} else if (settings['chat-use-prosody'] === false) {
peertubeHelpers.logger.info('Saving settings, ensuring prosody is not running')
await ensureProsodyNotRunning(options)
}