logging
AnzeBlaBla 2022-11-18 18:21:07 +01:00
parent 99f69e141e
commit fa5dc6c535
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ router.post('/broadcast', async (req, res, next) => {
let promises = []; let promises = [];
for (const c of channels) { for (const c of channels) {
promises.push(create_message(c, msg, author)); if (c !== 'session')
promises.push(create_message(c, msg, author));
} }
await Promise.all(promises); await Promise.all(promises);