Remove backward compatibility (restoring default values for checkboxes).

This commit is contained in:
John Livingston 2021-06-02 15:56:12 +02:00
parent 10bbb7f040
commit 88d9ad1f94
2 changed files with 5 additions and 4 deletions

View File

@ -13,6 +13,7 @@
### Changes
* Removed compatibility with Peertube previous to 3.2.0.
* Restoring default values for checkboxes in settings (there was a bug with Peertube previous to 3.2.0)
### Fixes

View File

@ -56,7 +56,7 @@ Before asking for help, please use this diagnostic tool:
name: 'chat-auto-display',
label: 'Automatically open the chat',
type: 'input-checkbox',
default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106)
default: true,
private: false
})
registerSetting({
@ -64,20 +64,20 @@ Before asking for help, please use this diagnostic tool:
label: 'Show the «open in new window» button',
private: false,
type: 'input-checkbox',
default: false // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106)
default: true
})
registerSetting({
name: 'chat-only-locals',
label: 'Chats are only available for local videos.',
type: 'input-checkbox',
default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106)
default: true,
private: false
})
registerSetting({
name: 'chat-all-lives',
label: 'Activate chat for all lives',
type: 'input-checkbox',
default: false, // FIXME: set true when Peertube 3.2.0 is out (https://github.com/Chocobozzz/PeerTube/issues/4106)
default: true,
descriptionHTML: 'If checked, a chat will be added to all lives.',
private: false
})