Skip to content

Commit

Permalink
ホームをフォロワーで引用するとホームになっちゃうのを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Sep 8, 2021
1 parent c63e498 commit 2bb9e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/note/create.ts
Expand Up @@ -170,7 +170,7 @@ export default async (user: IUser, data: Option, silent = false) => {
}

// Renote/Quote対象がホームだったらホームに
if (data.renote && data.renote.visibility === 'home') {
if (data.renote && data.visibility === 'public' && data.renote.visibility === 'home') {
data.visibility = 'home';
}

Expand Down

0 comments on commit 2bb9e7a

Please sign in to comment.