# 最後の投稿が割り当てやウィスパーの場合、未読を解除できない

**URL:** <https://meta.discourse.org/t/cant-dismiss-unread-if-last-post-is-an-assign-or-whisper/131823>\
**Category:** Bug\
**Created:** [2019 年 10 月 24 日午後 6:24 UTC](https://meta.discourse.org/t/cant-dismiss-unread-if-last-post-is-an-assign-or-whisper/131823 "2019-10-24T18:24:54Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [2019 年 10 月 30 日午前 4:39 UTC](https://meta.discourse.org/t/cant-dismiss-unread-if-last-post-is-an-assign-or-whisper/131823/5 "2019-10-30T04:39:22Z")

</div>

@awesomerobot ローカル環境でこのバグを再現し、トピックの最後の投稿が「ひそめ」の場合に修正しました。ただし、アサイン/アサイン解除が最後のアクションの場合は、未読タブが正常にクリアされました。再現を試みるために以下の手順を実行しました：

1. 1人のユーザーとしてトピックを作成
2. 別のユーザーとしてウォッチ
3. 最初のユーザーとしてトピックをアサイン
4. 2番目のユーザーとして「未読」タブに移動（トピックが未読として表示）
5. 「Dismiss…」ボタンをクリックし、モーダルを確認

その後、すべての未読アイテムがクリアされました。しかし、3番目の手順を「ひそめ返信を作成」に置き換えて同じ手順を実行すると、バグが発生し、未読リストがクリアされませんでした。アサイン/アサイン解除の部分を再現するために他に何か必要な手順はありますか？なければ、持っている修正を適用します 🙂

---

_[View the full topic](https://meta.discourse.org/t/cant-dismiss-unread-if-last-post-is-an-assign-or-whisper/131823)._
