Skip to content

Commit

Permalink
fix: indexable (#165)
Browse files Browse the repository at this point in the history
* fix: ApPersonServiceでindexableを考慮してなかった箇所がある問題

* update changelog

---------

Co-authored-by: Esurio <esurio@esurio1673.net>
  • Loading branch information
1673beta and Esurio authored Sep 8, 2024
1 parent da1cb17 commit bc21f1e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG_engawa.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@
### Misc
-->
## 0.5.4

### Release Date

### General
-

### Client
-

### Server
- fix: `ApPersonService``isIndexable`を考慮してなかった箇所がある問題

### Misc

## 0.5.3

### Release Date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ export class ApPersonService implements OnModuleInit {
alsoKnownAs: person.alsoKnownAs ?? null,
isExplorable: person.discoverable,
...(await this.resolveAvatarAndBanner(exist, person.icon, person.image).catch(() => ({}))),
} as Partial<MiRemoteUser> & Pick<MiRemoteUser, 'isBot' | 'isCat' | 'isLocked' | 'movedToUri' | 'alsoKnownAs' | 'isExplorable'>;
} as Partial<MiRemoteUser> & Pick<MiRemoteUser, 'isBot' | 'isCat' | 'isLocked' | 'movedToUri' | 'alsoKnownAs' | 'isExplorable' | 'isIndexable'>;

const moving = ((): boolean => {
// 移行先がない→ある
Expand Down

0 comments on commit bc21f1e

Please sign in to comment.