Bad english corrections.

This commit is contained in:
John Livingston
2024-07-10 11:55:54 +02:00
parent d5c0c474b3
commit 2f98dfa538
47 changed files with 53 additions and 53 deletions

View File

@ -57,7 +57,7 @@ let singleton: LivechatProsodyAuth | undefined
*
* The livechat tokens password are encrypted in data files.
* The associated secret key is in the database.
* This is to ensure an additional security level: if an attacker has access to file system, he also must have access
* This is to ensure an additional security level: if an attacker has access to file system, they also must have access
* to DB to get the secret key and decrypt passwords.
*/
export class LivechatProsodyAuth {

View File

@ -85,7 +85,7 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise<Pro
if (!(await fs.promises.stat(settings['prosody-certificates-dir'] as string)).isDirectory()) {
// We can throw an exception here...
// Because if the user input a wrong directory, the plugin will not register,
// and he will never be able to fix the conf
// and they will never be able to fix the conf.
logger.error('Certificate directory does not exist or is not a directory')
certsDir = undefined
} else {

View File

@ -415,7 +415,7 @@ class ProsodyConfigContent {
// Using direct S2S for outgoing connection can be an issue, if the local instance dont allow incomming S2S.
// Indeed, the remote instance will not necessarely be able to discover the Websocket Endpoint.
// To be sure the remote instance knows the websocket endpoint, we must use Websocket for the firt outgoing connect.
// So, we will add a parameter for mod_s2s_peertubelivechat, to tell him not to use outgoint s2s connection.
// So, we will add a parameter for mod_s2s_peertubelivechat, to tell them not to use outgoin s2s connection.
this.global.set('s2s_peertubelivechat_no_outgoing_directs2s_to_peertube', s2sPort === null)
this.muc.add('modules_enabled', 'dialback') // This allows s2s connections without certicicates!