diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-14 02:23:22 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-06-14 02:23:22 -0400 |
commit | caa551a4693c7c7ef475be515b31eb025bc7df96 (patch) | |
tree | 556ac98d2d2f88d29f192f9abba4dbaeb78edfec | |
parent | 5cf4d8e160dd5bb2a8681106c030ecee152c7366 (diff) | |
parent | ccf5afbba959068f34897b75afcd25c65c96d79c (diff) | |
download | abaddon-portaudio-caa551a4693c7c7ef475be515b31eb025bc7df96.tar.gz abaddon-portaudio-caa551a4693c7c7ef475be515b31eb025bc7df96.zip |
Merge branch 'master' into attachments
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | src/discord/objects.cpp | 2 |
2 files changed, 6 insertions, 7 deletions
@@ -59,18 +59,17 @@ the result of fundamental issues with Discord's thread implementation. #### Mac: -1. `git clone https://github.com/uowuo/abaddon && cd abaddon` +1. `git clone https://github.com/uowuo/abaddon --recurse-submodules="subprojects" && cd abaddon` 2. `brew install gtkmm3 nlohmann-json` -3. `git submodule update --init subprojects` -4. `mkdir build && cd build` -5. `cmake ..` -6. `make` +3. `mkdir build && cd build` +4. `cmake ..` +5. `make` #### Linux: 1. Install dependencies: `libgtkmm-3.0-dev`, `libcurl4-gnutls-dev`, and [nlohmann-json](https://github.com/nlohmann/json) -2. `git clone https://github.com/uowuo/abaddon && cd abaddon` +2. `git clone https://github.com/uowuo/abaddon --recurse-submodules="subprojects" && cd abaddon` 3. `mkdir build && cd build` 4. `cmake ..` 5. `make` diff --git a/src/discord/objects.cpp b/src/discord/objects.cpp index 6deaca0..f796000 100644 --- a/src/discord/objects.cpp +++ b/src/discord/objects.cpp @@ -41,7 +41,7 @@ void from_json(const nlohmann::json &j, GuildMemberListUpdateMessage::MemberItem JS_D("mute", m.IsMuted); JS_D("joined_at", m.JoinedAt); JS_D("deaf", m.IsDefeaned); - JS_N("hoisted_role", m.HoistedRole); + JS_ON("hoisted_role", m.HoistedRole); JS_ON("premium_since", m.PremiumSince); JS_ON("nick", m.Nickname); JS_ON("presence", m.Presence); |