1
0
forked from mirror/misskey

Delete publicKey of remote user

This commit is contained in:
syuilo 2018-04-17 19:43:49 +09:00
parent 70d5d4459d
commit e69554f810

View File

@ -359,6 +359,8 @@ export const pack = (
if (!opts.detail) {
delete _user.twoFactorEnabled;
}
} else {
delete _user.publicKey;
}
_user.avatarUrl = _user.avatarId != null