Users unable to view a private message


(PJH) #1

Screenshot in order:

  1. As viewed as admin
  2. As viewed as recipient
  3. As viewed as sender

Unsure what’s caused this particular PM to become unreadable by any of the people involved with it.


(Sam Saffron) #2

PM me a link to the message so I can have a look.


(Sam Saffron) #3

Seems like a logic hole in can_see_topic? I rewrote it so it is very clear, seems to work fine now.

https://github.com/discourse/discourse/commit/6eaaf6714cd145c64098bdab4f6a7c97362a5174


(Sam Saffron) #4