From ac11785591d7edc275a40a903d855c1462910218 Mon Sep 17 00:00:00 2001 From: mdPlusPlus Date: Fri, 6 Jan 2023 02:06:49 +0100 Subject: [PATCH] Add TODO --- get_online_session_communities.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/get_online_session_communities.php b/get_online_session_communities.php index 2dc6b8f..33fdfe7 100644 --- a/get_online_session_communities.php +++ b/get_online_session_communities.php @@ -693,7 +693,13 @@ /* * Queries the first found room for a server for its actual public key */ - function get_pubkey_from_server($server_url) { + function visit_first_room_of_server_to_acquire_public_key($server_url) { //TODO + // 1. https or http + // 2. query /rooms or / + // 3. visit /r/token/ or /view/room/token + // 4. regex the join link + // 5. extract public key + // 6. return it } ?>