From 703637a948b219dab3c2febe5eaeb2779cf13314 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 30 Oct 2024 12:36:23 +0100 Subject: [PATCH] config.php: restructure matrix configuration a bit --- inc/config.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/inc/config.php b/inc/config.php index f3e041d0..766fe912 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1895,12 +1895,14 @@ */ // Matrix integration for reports - // $config['matrix'] = array( - // 'access_token' => 'ACCESS_TOKEN', - // 'room_id' => '%21askjdlkajsdlka:matrix.org', - // 'host' => 'https://matrix.org', - // 'max_message_length' => 240 - // ); + $config['matrix'] = [ + 'enabled' => false, + 'access_token' => 'ACCESS_TOKEN', + // Note: must be already url-escaped. + 'room_id' => '%21askjdlkajsdlka:matrix.org', + 'host' => 'https://matrix.org', + 'max_message_length' => 240 + ]; //Securimage captcha //Note from lainchan PR: "TODO move a bunch of things here"