mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 22:38:30 +09:00
Improve performance
This commit is contained in:
parent
fa17623fa8
commit
13acf570e7
@ -269,7 +269,7 @@ export const pack = (
|
||||
delete _user.hasUnreadNotification;
|
||||
}
|
||||
|
||||
if (meId && !meId.equals(_user.id)) {
|
||||
if (meId && !meId.equals(_user.id) && opts.detail) {
|
||||
const [following1, following2, followReq1, followReq2, toBlocking, fromBlocked, mute] = await Promise.all([
|
||||
Following.findOne({
|
||||
followerId: meId,
|
||||
|
Loading…
Reference in New Issue
Block a user