From e9a49425b181333965d34f8fed2dd4d11ef8bf9c Mon Sep 17 00:00:00 2001 From: AbronStudio Date: Tue, 5 Aug 2025 12:23:08 +0330 Subject: [PATCH] Refactor: Update API URLs and add TODOs - Updated `websocket` URL to use `wss` scheme and point to `a-pep.peptide.chat/ws`. - Changed `autumn` URL to `a-pep.peptide.chat/autumn`. - Added TODO comments to `kjbook` URL indicating it needs to be replaced with the correct URL. --- app/src/main/java/chat/revolt/api/RevoltAPI.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/chat/revolt/api/RevoltAPI.kt b/app/src/main/java/chat/revolt/api/RevoltAPI.kt index 82f57c45..fa1f3718 100644 --- a/app/src/main/java/chat/revolt/api/RevoltAPI.kt +++ b/app/src/main/java/chat/revolt/api/RevoltAPI.kt @@ -97,9 +97,11 @@ private val PLATFORM_URLS = mapOf( january = "https://a-pep.peptide.chat/january", app = "https://peptide.chat", invites = "https://pep.gg", - websocket = "https://a-pep.peptide.chat/ws", - autumn = "https://autumn.revolt.chat", - kjbook = "https://pepchat.github.io/android" + websocket = "wss://a-pep.peptide.chat/ws", + autumn = "https://a-pep.peptide.chat/autumn", + // TODO: Replace with correct URL + kjbook = "https://revoltchat.github.io/android" + // TODO: Replace with correct URL ) )