mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-25 12:04:39 +00:00
added missing author to replies
This commit is contained in:
committed by
Rory&
parent
25e90df28d
commit
f109db3536
@@ -265,7 +265,10 @@ router.get(
|
||||
|
||||
const message = await Message.findOneOrFail({
|
||||
where: { id: message_id, channel_id },
|
||||
relations: { attachments: true },
|
||||
relations: {
|
||||
attachments: true,
|
||||
author: true,
|
||||
},
|
||||
});
|
||||
|
||||
const permissions = await getPermission(req.user_id, undefined, channel_id);
|
||||
|
||||
Reference in New Issue
Block a user