spoof a bunch of headers like the web client

This commit is contained in:
ouwou
2022-08-11 23:37:39 -04:00
parent baf96da80c
commit dc28eae95a
9 changed files with 96 additions and 2 deletions

View File

@@ -262,6 +262,7 @@ void to_json(nlohmann::json &j, const ClientStateProperties &m) {
j["highest_last_message_id"] = m.HighestLastMessageID;
j["read_state_version"] = m.ReadStateVersion;
j["user_guild_settings_version"] = m.UserGuildSettingsVersion;
j["user_settings_version"] = m.UserSettingsVersion;
}
void to_json(nlohmann::json &j, const IdentifyMessage &m) {