summaryrefslogtreecommitdiff
path: root/discord/channel.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-08-05 04:02:47 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-08-05 04:02:47 -0400
commit856674506c064ba94396752664aede5167c3ec4b (patch)
tree6606a051d2ff0985133c360f3b2cc3221db94805 /discord/channel.cpp
parent41a63df1b108a9520a8dfcb862f108b42f9a1bb1 (diff)
downloadabaddon-portaudio-856674506c064ba94396752664aede5167c3ec4b.tar.gz
abaddon-portaudio-856674506c064ba94396752664aede5167c3ec4b.zip
better join/leave thread logic
Diffstat (limited to 'discord/channel.cpp')
-rw-r--r--discord/channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.cpp b/discord/channel.cpp
index f78e0cd..60f481b 100644
--- a/discord/channel.cpp
+++ b/discord/channel.cpp
@@ -10,7 +10,7 @@ void from_json(const nlohmann::json &j, ThreadMetadataData &m) {
void from_json(const nlohmann::json &j, ThreadMemberObject &m) {
JS_O("id", m.ThreadID);
- JS_O("user_id", m.ThreadID);
+ JS_O("user_id", m.UserID);
JS_D("join_timestamp", m.JoinTimestamp);
JS_D("flags", m.Flags);
}