Skip to content

Commit

Permalink
fix: V[RS]TL doesn't have withReplies toggle (#92)
Browse files Browse the repository at this point in the history
* fix: V[RS]TL doesn't have withReplies toggle

* docs(changelog): VRTL VSTLでリプライのトグルが表示されない問題
  • Loading branch information
anatawa12 authored Aug 4, 2024
1 parent 18ebf1c commit 19eb8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-VRTL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
VRTLのブランチで行われた変更点をまとめています

<!-- VV Please add changelog here VV -->
- fic(frontend): VRTL VSTLでリプライのトグルが表示されない問題 (anatawa12#92) - 2024/08/04
- chore(backend): VRTL参加サーバーの取得に失敗したときのリトライの間隔を短く
- feat: VRTL/VSTLに連合なし投稿を含めるかを選択可能に
- もともとのVRTL/VSTLでは連合なし投稿が常に含まれていましたが、正しくVRTL/VSTLのノートを表現するために含めないようにできるようになりました
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/timelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export function availableBasicTimelines(): BasicTimelineType[] {
}

export function hasWithReplies(timeline: BasicTimelineType | undefined | null): boolean {
return timeline === 'local' || timeline === 'social';
return timeline === 'local' || timeline === 'social' || timeline === 'vmimi-relay' || timeline === 'vmimi-relay-social';
}

export function hasWithLocalOnly(timeline: BasicTimelineType | undefined | null): boolean {
Expand Down

0 comments on commit 19eb8d4

Please sign in to comment.