spoof a bunch of headers like the web client

This commit is contained in:
ouwou committed 2022-08-11 23:37:39 -04:00
1 parent baf96da80c
commit dc28eae95a
9 files changed
+96 -2

No files matched your search

+1
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) {