Terms&Conditions (#18):
* new settings for instance's terms * new channel option for channel's terms
This commit is contained in:
1
shared/lib/constants.ts
Normal file
1
shared/lib/constants.ts
Normal file
@ -0,0 +1 @@
|
||||
export const channelTermsMaxLength = 400
|
@ -101,11 +101,12 @@ interface ChannelConfigurationOptions {
|
||||
slowMode: {
|
||||
duration: number
|
||||
}
|
||||
mute: {
|
||||
mute: { // comes with Livechat 10.2.0
|
||||
anonymous: boolean
|
||||
// TODO: https://github.com/JohnXLivingston/peertube-plugin-livechat/issues/127
|
||||
// nonFollowers: boolean (or a number of seconds?)
|
||||
}
|
||||
terms?: string // comes with Livechat 10.2.0
|
||||
}
|
||||
|
||||
interface ChannelForbiddenWords {
|
||||
|
Reference in New Issue
Block a user