We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c68e931 commit 1b3adccCopy full SHA for 1b3adcc
packages/backend/src/core/NoteCreateService.ts
@@ -360,7 +360,7 @@ export class NoteCreateService implements OnApplicationShutdown {
360
}
361
362
// #region Shrimpia
363
- if (user.host != null && mentionedUsers.some(u => u.host !== null)) {
+ if (user.host != null && mentionedUsers.length > 0) {
364
const userEntity = await this.usersRepository.findOneByOrFail({ id: user.id });
365
if (userEntity.followersCount === 0) {
366
throw new Error('Temporarily, notes including mentions from remote users which no followers are not allowed');
0 commit comments