Skip to content

Commit 5c6236b

Browse files
committed
chore: ちょっとコード順おかしかったので修正
1 parent a27af00 commit 5c6236b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/core/NoteCreateService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,9 @@ export class NoteCreateService implements OnApplicationShutdown {
359359
mentionedUsers = data.apMentions ?? await this.extractMentionedUsers(user, combinedTokens);
360360
}
361361

362+
// #region Shrimpia
362363
const willCauseNotification = mentionedUsers.length > 0 || data.reply?.userHost === null || data.renote?.userHost === null;
363364

364-
// #region Shrimpia
365365
if (user.host != null && willCauseNotification) {
366366
const userEntity = await this.usersRepository.findOneBy({ id: user.id });
367367
if ((userEntity?.followersCount ?? 0) === 0) {

0 commit comments

Comments
 (0)