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 ### Changes
* Removed compatibility with Peertube previous to 3.2.0. * 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 ### Fixes

View File

@ -56,7 +56,7 @@ Before asking for help, please use this diagnostic tool:
name: 'chat-auto-display', name: 'chat-auto-display',
label: 'Automatically open the chat', label: 'Automatically open the chat',
type: 'input-checkbox', 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 private: false
}) })
registerSetting({ registerSetting({
@ -64,20 +64,20 @@ Before asking for help, please use this diagnostic tool:
label: 'Show the «open in new window» button', label: 'Show the «open in new window» button',
private: false, private: false,
type: 'input-checkbox', 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({ registerSetting({
name: 'chat-only-locals', name: 'chat-only-locals',
label: 'Chats are only available for local videos.', label: 'Chats are only available for local videos.',
type: 'input-checkbox', 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 private: false
}) })
registerSetting({ registerSetting({
name: 'chat-all-lives', name: 'chat-all-lives',
label: 'Activate chat for all lives', label: 'Activate chat for all lives',
type: 'input-checkbox', 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.', descriptionHTML: 'If checked, a chat will be added to all lives.',
private: false private: false
}) })