friends: accept incoming

This commit is contained in:
ouwou
2021-05-11 04:06:23 -04:00
parent 06ba3acc93
commit 858fd8ce62
6 changed files with 48 additions and 11 deletions

View File

@@ -468,3 +468,7 @@ void to_json(nlohmann::json &j, const FriendRequestObject &m) {
j["username"] = m.Username;
j["discriminator"] = m.Discriminator;
}
void to_json(nlohmann::json &j, const PutRelationshipObject &m) {
JS_IF("type", m.Type);
}