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 committed 2021-01-23 18:23:14 -05:00
1 parent 04734e7e55
commit fd72d91cee
5 files changed
+16

No files matched your search

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