From 0986f1fe7253549dd6aedd50e77a3bede6c1d178 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 26 Jan 2024 20:18:43 +0200 Subject: [PATCH] update about info --- example/config.json | 14 ++++++-------- src/controller/room.php | 2 +- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/example/config.json b/example/config.json index bb300fe..e51d076 100644 --- a/example/config.json +++ b/example/config.json @@ -30,14 +30,12 @@ }, "kevachat": { - "link": - { - "about": - [ - "https://github.com/kevachat/geminiapp", - "https://github.com/kevachat/webapp" - ] - }, + "about": + [ + "=> /room/NfqYRoWFZAydVyS4GjDa6o31CDSpGXVyXE Official room", + "=> https://github.com/kevachat/geminiapp Geminiapp source", + "=> https://github.com/kevachat/webapp Webapp source" + ], "room": { "key": diff --git a/src/controller/room.php b/src/controller/room.php index 049740b..4e3aa6a 100644 --- a/src/controller/room.php +++ b/src/controller/room.php @@ -128,7 +128,7 @@ class Room ), implode( PHP_EOL, - $this->_config->kevachat->link->about + $this->_config->kevachat->about ), implode( PHP_EOL,