This commit is contained in:
ThinaticSystem 2022-05-21 06:38:15 +09:00
parent d3e4d76148
commit 283f0b6d62

View File

@ -171,7 +171,7 @@ export default defineComponent({
throw new Error("openRenoteDestination()の引数には type: 'renote' のNotificationが渡される必要があります");
}
os.api('users/show', {userId: renoteNotification.user.id}).then(user => {
os.api('users/show', {userId: renoteNotification.user.id}).then((user: misskey.entities.UserDetailed) => {
if (user.host != null && user.followersCount === 0) { // 稿
window.open(user.url, '_blank', 'rel="nofollow noopener"');
} else {