mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-11 01:15:40 +00:00
await the dm channel handler
This commit is contained in:
@@ -228,7 +228,7 @@ router.post(
|
||||
const channel_dto = await DmChannelDTO.from(channel);
|
||||
|
||||
// Only one recipients should be closed here, since in group DMs the recipient is deleted not closed
|
||||
Promise.all(
|
||||
await Promise.all(
|
||||
channel.recipients!.map((recipient) => {
|
||||
if (recipient.closed) {
|
||||
recipient.closed = false;
|
||||
|
||||
Reference in New Issue
Block a user