handle archiving via THREAD_UPDATE (sorta)

This commit is contained in:
ouwou
2021-08-16 02:47:08 -04:00
parent 66c7ecf2ab
commit d2f6bd08fc
6 changed files with 39 additions and 4 deletions

View File

@@ -507,3 +507,7 @@ void from_json(const nlohmann::json &j, ArchivedThreadsResponseData &m) {
void from_json(const nlohmann::json &j, ThreadMemberUpdateData &m) {
m.Member = j;
}
void from_json(const nlohmann::json &j, ThreadUpdateData &m) {
m.Thread = j;
}