From f4a565ab67c8469900ea26adeef6578fd7049293 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Fri, 19 Feb 2021 10:11:42 +0100 Subject: [PATCH] Fix settings privacy. --- main.js | 16 ++++++++++++---- package.json | 2 +- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/main.js b/main.js index 17d212a7..10cbe175 100644 --- a/main.js +++ b/main.js @@ -12,28 +12,36 @@ async function register ({ label: 'Activate chat for all lives', type: 'input-checkbox', default: false, - descriptionHTML: 'If checked, a chat will be added to all lives.' + descriptionHTML: 'If checked, a chat will be added to all lives.', + private: false }) registerSetting({ name: 'chat-all-non-lives', label: 'Activate chat for all non-lives', type: 'input-checkbox', default: false, - descriptionHTML: 'If checked, a chat will be added to all video that are not lives.' + descriptionHTML: 'If checked, a chat will be added to all video that are not lives.', + private: false }) registerSetting({ name: 'chat-videos-list', label: 'Activate chat for specific videos', type: 'input-textarea', default: '', - descriptionHTML: 'Videos UUIDs for which we want a chat. Can be non-live videos. One per line. Don\'t add private videos, the UUIDs will be send to frontend.' + descriptionHTML: 'Videos UUIDs for which we want a chat. ' + + 'Can be non-live videos. One per line. ' + + 'Don\'t add private videos, the UUIDs will be send to frontend.', + private: false }) registerSetting({ name: 'chat-uri', label: 'Webchat url', type: 'input', default: '', - descriptionHTML: 'The webchat url. An iframe will be created pointing to this url. The placeholder {{VIDEO_UUID}} will be replace by the video UUID if present. Example : https://my_domain/conversejs.html?room=video_{{VIDEO_UUID}}.' + descriptionHTML: 'The webchat url. An iframe will be created pointing to this url. ' + + 'The placeholder {{VIDEO_UUID}} will be replace by the video UUID if present. ' + + 'Example : https://my_domain/conversejs.html?room=video_{{VIDEO_UUID}}.', + private: false }) } diff --git a/package.json b/package.json index 583a6e4c..ba2c4cc1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "peertube-plugin-livechat", "description": "PeerTube plugin livechat", - "version": "0.0.1", + "version": "0.0.2", "author": "John Livingston", "bugs": "https://github.com/JohnXLivingston/peertube-plugin-livechat/issues", "clientScripts": [