# Bug when composing topic while viewing PM - incorrect "mentioned user will not be notified" warning

**URL:** <https://meta.discourse.org/t/bug-when-composing-topic-while-viewing-pm-incorrect-mentioned-user-will-not-be-notified-warning/59270>\
**Category:** Bug\
**Created:** [March 16, 2017, 4:06pm UTC](https://meta.discourse.org/t/bug-when-composing-topic-while-viewing-pm-incorrect-mentioned-user-will-not-be-notified-warning/59270 "2017-03-16T16:06:23Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [March 16, 2017, 4:06pm UTC](https://meta.discourse.org/t/bug-when-composing-topic-while-viewing-pm-incorrect-mentioned-user-will-not-be-notified-warning/59270/1 "2017-03-16T16:06:23Z")

</div>

Had a feature request related to a closed topic. Flagged it to reopen. Asked to instead make a new topic. Typed c to open composer and started typing. After mentioning a non-admin user, I was warned that they would not be notified because it was a personal message. However, I was writing a public topic, not a PM. I was simply looking at a PM.

I think the logic from this PR is not working for some reason. Is it somehow checking the current view instead of the composer type @cpradio?  
[https://github.com/discourse/discourse/pull/4550](https://github.com/discourse/discourse/pull/4550)

Screenshots:

 ![](https://global.discourse-cdn.com/meta/original/3X/b/4/b451d3d43efc4821642c6af709e240d8ef9ea9a6.png)

Edit: just happened for this topic as well.

 ![](https://global.discourse-cdn.com/meta/original/3X/b/8/b8626140827eb3d1d58ad1ca09be27db543c09ad.png)

Repro:

1. Navigate to Messages.
2. Open a message.
3. Type c to open new topic composer.
4. Mention a non-admin user not a participant in message that was opened in step 2.

---

_[View the full topic](https://meta.discourse.org/t/bug-when-composing-topic-while-viewing-pm-incorrect-mentioned-user-will-not-be-notified-warning/59270)._
