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
|
# Changelog
|
||||||
|
|
||||||
|
## ???
|
||||||
|
|
||||||
|
* Fix: typo that can prevent settings chat-only-locals to work
|
||||||
|
|
||||||
## v1.0.7
|
## v1.0.7
|
||||||
|
|
||||||
* New tutorial to setup [Prosody on the Peertube server](documentation/tutorials/prosody.md)
|
* 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')
|
logger.error('Can\'t find the video ' + uuid + ' in the videoCache')
|
||||||
return
|
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.')
|
logger.log('This video is not local, and we dont want chats on non local videos.')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user