# 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:** 2

<div class="post-metadata">

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

</div>

This actually isn’t supposed to work at all…

## From a PM:

Right now there are three scenarios that behave differently with mentions in regards to informing the user they do not have access.

1. Reply to a Topic/PM

- The same workflow can work for topic and PM, in that, you check to see if the mention user can see the already existing topic/PM

1. Create a new Topic

- This isn’t the same workflow as above, as the topic doesn’t exist. So you have to check if the user can see the category the topic will be posted to. But what if the user changes the category? It should probably check again…

1. Create a PM

- This isn’t the same as either workflow above, as obviously this is dependent on the Recipient list, not a category or existing topic/PM. If the user isn’t in the recipient list (or part of a group in the recipient list), then they can’t see the PM.

So maybe we can redefine the scope a bit to make this a lot less complex? Which of these three are the most important? Or maybe I should post this in the feature discussion topic to find out if there is a better way to do this? Maybe a new notification that is send to the creator of the reply/topic/PM that says “hey, you mentioned X, Y, and Z and they can’t see your post” which would get sent after the post/topic/PM is posted, thus same workflow for all three scenarios.

* * *

It was decided to not worry about items #2 and #3… so I’m sort of surprised to see the dialog appear.

---

_[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)._
