mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-10 08:37:31 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -402,10 +402,10 @@ async function getTooltipData(uids) {
|
||||
uids = uids.slice(0, cutoff - 1);
|
||||
}
|
||||
|
||||
const usernames = await user.getUsernamesByUids(uids);
|
||||
const users = await user.getUsersFields(uids, ['username']);
|
||||
return {
|
||||
otherCount,
|
||||
usernames,
|
||||
usernames: users.map(user => user.displayname),
|
||||
cutoff,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user