From 856674506c064ba94396752664aede5167c3ec4b Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 5 Aug 2021 04:02:47 -0400 Subject: better join/leave thread logic --- discord/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/channel.cpp') 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); } -- cgit v1.2.3