From e1b08ce02549fea6d1adcc6945149ef411f51c8f Mon Sep 17 00:00:00 2001 From: John Livingston Date: Sun, 2 May 2021 15:22:08 +0200 Subject: [PATCH] Removing muc_create_api_auth, because Peertube will not allow an authorization header. --- server/lib/prosody/config/content.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/lib/prosody/config/content.ts b/server/lib/prosody/config/content.ts index 5dc19ed0..be74d30c 100644 --- a/server/lib/prosody/config/content.ts +++ b/server/lib/prosody/config/content.ts @@ -178,12 +178,9 @@ class ProsodyConfigContent { this.muc.set('restrict_room_creation', 'local') } - useMucHttpDefault (url: string, bearer?: string): void { + useMucHttpDefault (url: string): void { this.muc.add('modules_enabled', 'muc_http_defaults') this.muc.add('muc_create_api_url', url) - if (bearer) { - this.muc.add('muc_create_api_auth', bearer) - } } setArchive (duration: string): void {