From c1fbe63dc45c92e9348a4a099d822b385145ceaf Mon Sep 17 00:00:00 2001 From: Charlie Lin Date: Wed, 16 Jun 2021 10:02:21 -0400 Subject: [PATCH 1/3] Add HOMEPAGE_URL. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c7ff301..467b4b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ project( unofficial-discord-client VERSION 0.1 DESCRIPTION "Discord unofficial desktop application" + HOMEPAGE_URL "https://github.com/Coding-Bunker/unofficial-discord-client/" LANGUAGES CXX) set(CMAKE_INCLUDE_CURRENT_DIR ON) From 58a80a70a5d9f1c2b74460ecabca46d6a1586781 Mon Sep 17 00:00:00 2001 From: Charlie Lin Date: Sat, 19 Jun 2021 10:19:09 -0400 Subject: [PATCH 2/3] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a2a2d8..5ec63ac 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,10 @@ build/src/bin/unofficial-discord-client - [x] Settings (Ctrl + S) - [ ] News and other types of channels - - Voice channels require Qt Multimedia for audio handling, which has not been ported to Qt 6 yet: https://github.com/Coding-Bunker/unofficial-discord-client/issues/45 + - Voice channels require the following three: Qt Multimedia for audio handling, + which has not been ported to Qt 6 yet: https://github.com/Coding-Bunker/unofficial-discord-client/issues/45, + a library to send and receive Opus audio data (perhaps https://github.com/xiph/opus), + and a library to encrypt and decrypt Opus data using the xsalsa20_poly1305 cipher (perhaps [libsodium](https://github.com/jedisct1/libsodium)). - [ ] Mentions - [ ] Attachments - [ ] Reactions From 2918a4157783182aa5779de2dfebcf9e34e03dd9 Mon Sep 17 00:00:00 2001 From: Federico Guerinoni Date: Sun, 20 Jun 2021 09:35:37 +0200 Subject: [PATCH 3/3] Add latest version of API Signed-off-by: Federico Guerinoni --- src/DiscordApi/DiscordAPI.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DiscordApi/DiscordAPI.hpp b/src/DiscordApi/DiscordAPI.hpp index d0da757..e15bb66 100644 --- a/src/DiscordApi/DiscordAPI.hpp +++ b/src/DiscordApi/DiscordAPI.hpp @@ -8,7 +8,7 @@ namespace DiscordAPI static const auto fakeBrowserUserAgent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0"; -static const QString baseURL = QStringLiteral("https://discord.com/api/v"); +static const QString baseURL = QStringLiteral("https://discord.com/api/v9"); static const QString baseImageURL = QStringLiteral("https://cdn.discordapp.com"); static const QString auth = baseURL + QStringLiteral("/auth");