-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(backend): ロックダウンされた期間指定のノートがStreaming経由でLTLに出現するのを修正 #15200
base: develop
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #15200 +/- ##
===========================================
- Coverage 39.96% 39.84% -0.13%
===========================================
Files 1563 1563
Lines 197878 197985 +107
Branches 3646 3635 -11
===========================================
- Hits 79080 78878 -202
- Misses 118193 118532 +339
+ Partials 605 575 -30 ☔ View full report in Codecov by Sentry. |
このPRによるapi.jsonの差分 |
いや、本質的にノートのユーザー情報とフォロー関係を見てTLのノート取得部分を変更する必要があるな |
d3d0ccf
to
f96eae0
Compare
For Reviewers: Streamに乗せるときにskipHideが適用されるがこの場合visibilityの変更がされていなかったということです misskey/packages/backend/src/core/NoteCreateService.ts Lines 611 to 613 in df789ce
|
@@ -102,8 +102,7 @@ export class NoteEntityService implements OnModuleInit { | |||
} | |||
|
|||
@bindThis | |||
private async hideNote(packedNote: Packed<'Note'>, meId: MiUser['id'] | null): Promise<void> { | |||
// FIXME: このvisibility変更処理が当関数にあるのは若干不自然かもしれない(関数名を treatVisibility とかに変える手もある) | |||
private async treatVisibility(packedNote: Packed<'Note'>): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
async不要だわね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
たしかにそうなのでasyncけしました
What
下記現象の修正
Why
ロックダウンしたノートが表示され続けるのは本意ではないと考えられるため
Additional info (optional)
Checklist