better join/leave thread logic

This commit is contained in:
ouwou
2021-08-05 04:02:47 -04:00
parent 41a63df1b1
commit 856674506c
5 changed files with 55 additions and 27 deletions

View File

@@ -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);
}