From 882924fe26d961c6ef5d7363b65855a380ff9371 Mon Sep 17 00:00:00 2001 From: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:06:52 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E3=83=80=E3=82=A4=E3=83=AC=E3=82=AF?= =?UTF-8?q?=E3=83=88=E6=8A=95=E7=A8=BF=E3=82=82=E3=82=B9=E3=83=91=E3=83=A0?= =?UTF-8?q?=E5=AF=BE=E7=AD=96=E3=81=AE=E6=9D=A1=E4=BB=B6=E5=BC=8F=E3=81=AB?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/backend/src/core/NoteCreateService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/core/NoteCreateService.ts b/packages/backend/src/core/NoteCreateService.ts index b5335fc5bbb2..d0a8eb793962 100644 --- a/packages/backend/src/core/NoteCreateService.ts +++ b/packages/backend/src/core/NoteCreateService.ts @@ -363,7 +363,8 @@ export class NoteCreateService implements OnApplicationShutdown { // ローカル宛てのメンション、リプライ、引用ノートの発行元が、ローカルユーザーにフォローされていない場合は投稿を拒否する const willCauseNotification = mentionedUsers.filter(u => u.host === null).length > 0 || (data.reply != null && data.reply.userHost === null) || - (this.isQuote(data) && data.renote.userHost === null); + (this.isQuote(data) && data.renote.userHost === null) || + (data.visibility === 'specified' && data.visibleUsers != null && data.visibleUsers.some(u => u.host === null)); if (user.host != null && willCauseNotification) { const userEntity = await this.usersRepository.findOneBy({ id: user.id }); From e6e45333246b6e91bf6f249158d81fdc206ff103 Mon Sep 17 00:00:00 2001 From: Ebise Lutica <7106976+EbiseLutica@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:07:45 +0900 Subject: [PATCH 2/2] 2024.2.0-ebi.3 --- package.json | 2 +- packages/misskey-js/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e439e5df7be6..f115773f514b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "misskey", - "version": "2024.2.0-ebi.2", + "version": "2024.2.0-ebi.3", "codename": "nasubi", "repository": { "type": "git", diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json index 051c63cbe179..2b74a6022ef7 100644 --- a/packages/misskey-js/package.json +++ b/packages/misskey-js/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "misskey-js", - "version": "2024.2.0", + "version": "2024.2.0-ebi.3", "description": "Misskey SDK for JavaScript", "types": "./built/dts/index.d.ts", "exports": {