forked from FoundKeyGang/FoundKey
fix type error
This commit is contained in:
parent
b431471fd1
commit
756ecbb1f7
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ async function getMentionedRemoteUsers(note: Note): Promise<IRemoteUser[]> {
|
||||||
const where = [] as any[];
|
const where = [] as any[];
|
||||||
|
|
||||||
// mention / reply / dm
|
// mention / reply / dm
|
||||||
if (note.mentions > 0) {
|
if (note.mentions.length > 0) {
|
||||||
where.push({
|
where.push({
|
||||||
id: In(note.mentions),
|
id: In(note.mentions),
|
||||||
// only remote users, local users are on the server and do not need to be notified
|
// only remote users, local users are on the server and do not need to be notified
|
||||||
|
|
Loading…
Reference in a new issue