Fix: typo that can prevent settings chat-only-locals to work.
This commit is contained in:
parent
8f79f813c7
commit
ac37d8a882
@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## ???
|
||||
|
||||
* Fix: typo that can prevent settings chat-only-locals to work
|
||||
|
||||
## v1.0.7
|
||||
|
||||
* New tutorial to setup [Prosody on the Peertube server](documentation/tutorials/prosody.md)
|
||||
|
@ -210,7 +210,7 @@ function register ({ registerHook, peertubeHelpers }) {
|
||||
logger.error('Can\'t find the video ' + uuid + ' in the videoCache')
|
||||
return
|
||||
}
|
||||
if (settings['chat-only-locals' && !video.isLocal]) {
|
||||
if (settings['chat-only-locals'] && !video.isLocal) {
|
||||
logger.log('This video is not local, and we dont want chats on non local videos.')
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user