handle merged_members in ready object

this way you dont have to load a channel to make the client aware of your permissions
This commit is contained in:
ouwou
2021-01-23 18:23:14 -05:00
parent 04734e7e55
commit fd72d91cee
5 changed files with 16 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ void from_json(const nlohmann::json &j, ReadyEventData &m) {
JS_D("user_settings", m.Settings);
JS_D("private_channels", m.PrivateChannels);
JS_O("users", m.Users);
JS_ON("merged_members", m.MergedMembers);
}
void to_json(nlohmann::json &j, const IdentifyProperties &m) {