typing indicator, mentions + bug fixes

This commit is contained in:
Zoe
2023-01-14 06:37:13 -06:00
parent c39da0678d
commit f1c5537697
23 changed files with 629 additions and 190 deletions

View File

@@ -62,8 +62,17 @@ export default defineEventHandler(async (event) => {
dmParticipants: { connect: [{ id: event.context.user.id }, { id: partner.id }] },
DM: true
},
include: {
dmParticipants: true
select: {
id: true,
name: true,
messages: false,
DM: true,
dmParticipants: {
select: {
id: true,
username: true
}
}
}
}) as IChannel