Skip to content

Commit

Permalink
Merge remote-tracking branch 'shrimpia/master' into focalorus-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kagatiki committed Feb 19, 2024
2 parents c7b56c8 + e6e4533 commit b085a43
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "misskey",
"version": "2024.2.0-focalorus-fix",
"version": "2024.2.0-f.ebi.3",
"codename": "nasubi",
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion packages/backend/src/core/NoteCreateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down
2 changes: 1 addition & 1 deletion packages/misskey-js/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit b085a43

Please sign in to comment.