Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RomaricMourgues committed Mar 7, 2022
1 parent 6d2057f commit 23416fe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@ export class Service implements ChannelService {
if (isDirectChannel(channel)) {
const users = [];
for (const user of channel.members) {
const e = await this.userService.formatUser(await this.userService.users.get({ id: user }));
const e = await this.userService.formatUser(
await this.userService.users.getCached({ id: user }),
);
users.push(e);
}
channelWithUsers.users = users;
Expand Down

0 comments on commit 23416fe

Please sign in to comment.