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

ミュートしている人に向けたメンションが含まれている投稿は表示しないようにしてほしい #2690

Open
tamaina opened this issue Sep 11, 2018 · 2 comments
Labels
✨Feature This adds/improves/enhances a feature packages/backend Server side specific issue/PR

Comments

@tamaina
Copy link
Member

tamaina commented Sep 11, 2018

Summary

Environment


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Sayamame-beans
Copy link
Member

Sayamame-beans commented Jun 23, 2024

実装を試みています( https://github.com/Sayamame-beans/misskey/tree/mute_note_has_muting_mention )が、以下の懸念点があります。

  • ミュート対象ユーザーのメンションが含まれたノートを全て非表示にすると、ミュート対象と関係の薄い他ユーザーからの自分宛てノート/リプライの中でメンションが含まれていたような場合にも見えなくなってしまいます。
  • インスタンスミュートには適用出来なさそう。
    • メンション情報にはサーバー情報が無いため。

なお、visibleUserIdsにも同様の実装を試みてみましたが、同様の懸念から処理が不要かもしれません。

(微off-topic: 各ミュート対象ごとに何に対するミュートを行うか指定出来れば、懸念の前者は改善されそうですが… 類似: #13405)

@Sayamame-beans
Copy link
Member

Sayamame-beans commented Jun 26, 2024

isUserRelatedを呼び出している箇所のmeやuserを引数経由でisUserRelatedに渡すことで、自分宛ての場合にメンション判定を除外することが出来そう…

メモ: DBへのQueryの方の処理を書き忘れている

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨Feature This adds/improves/enhances a feature packages/backend Server side specific issue/PR
Projects
Development

No branches or pull requests

3 participants