We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a27af00 commit 5c6236bCopy full SHA for 5c6236b
packages/backend/src/core/NoteCreateService.ts
@@ -359,9 +359,9 @@ export class NoteCreateService implements OnApplicationShutdown {
359
mentionedUsers = data.apMentions ?? await this.extractMentionedUsers(user, combinedTokens);
360
}
361
362
+ // #region Shrimpia
363
const willCauseNotification = mentionedUsers.length > 0 || data.reply?.userHost === null || data.renote?.userHost === null;
364
- // #region Shrimpia
365
if (user.host != null && willCauseNotification) {
366
const userEntity = await this.usersRepository.findOneBy({ id: user.id });
367
if ((userEntity?.followersCount ?? 0) === 0) {
0 commit comments