Skip to content
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

リストTLからフォロワー限定ノートが消える #12110

Closed
kleuzjatob opened this issue Oct 21, 2023 · 3 comments
Closed

リストTLからフォロワー限定ノートが消える #12110

kleuzjatob opened this issue Oct 21, 2023 · 3 comments
Labels
🐛Bug Unexpected behavior packages/backend Server side specific issue/PR

Comments

@kleuzjatob
Copy link

💡 Summary

リストTLを表示させた状態で取得対象のユーザがフォロワー限定ノートを投稿すると(表示権限があれば)そのリストTLに流れるのは従来通りかと思いますが、別の画面に切り替えて戻るとそのノートが消えております。
また、当該リストTLを表示させていなかった場合の切り替え時もノートは表示されません。

ダイレクトノートは問題なく継続的に表示される様です。(#11991 のお陰?)

🥰 Expected Behavior

リストTLでフォロワー限定ノートが継続的に表示される

🤬 Actual Behavior

リストTLに表示されたフォロワー限定ノートが画面切り替えで消失する

📝 Steps to Reproduce

  1. 自分を取得対象としたリストを作成する
  2. 1.のリストTLを表示する
  3. フォロワー限定ノートを投稿する
  4. 1.のリストTLに3.のフォロワー限定ノートが表示される
  5. 1.のリストTLから別の画面に切り替える
  6. 1.のリストTLを再度表示する
  7. 3.のフォロワー限定ノートが消えている

📌 Environment

💻 Frontend

  • Model and OS of the device(s):
  • Browser: Chrome 118.0.5993.89, Firefox 118.0.2
  • Server URL: gp.tsukimi.club
  • Misskey: 2023.10.2

🛰 Backend (for server admin)

  • Installation Method or Hosting Service: systemd
  • Misskey: updated from 2023.9.3 to 2023.10.2
  • Node: 18.18.0
  • PostgreSQL: 15.2 (Ubuntu 15.2-1.pgdg20.04+1)
  • Redis: 7.0.8
  • OS and Architecture: Ubuntu 20.04.1 LTS x86_64
@kleuzjatob kleuzjatob added the ⚠️bug? This might be a bug label Oct 21, 2023
@lynlynlynx
Copy link
Contributor

lynlynlynx commented Oct 21, 2023

うち(v2023.10.2 と v2023.11.0-beta.1)でも発生しています。
自分を含むリストで自分のフォロワー限定の投稿がページ更新で消えます。でも他人のフォロワー限定の投稿は消えてない。

以下の箇所で userListUserId と 自分のIDが同じ場合も条件に入れないといけなさそう?(よくわからない)
https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/core/NoteCreateService.ts#L869

@syuilo syuilo added 🐛Bug Unexpected behavior packages/backend Server side specific issue/PR and removed ⚠️bug? This might be a bug labels Oct 22, 2023
@syuilo syuilo closed this as completed in 7232771 Oct 22, 2023
@syuilo
Copy link
Member

syuilo commented Oct 22, 2023

🙏🏻

@kleuzjatob
Copy link
Author

修正ありがとうございます。
アップデート間もない事で調査不足でしたが、自分のノートのみの現象なのですね。
フォロイーのノートはv2023.10.2でも映る事を後に確認しております。ありがとうございました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Unexpected behavior packages/backend Server side specific issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants