This is something we wanted to do but have no good solution for.
The problem is that the global inbox's behavior is driven by the web site's behavior where your feed will always have a block of zero or more unread items followed by zero or more read items, never an unread-read-unread pattern. Having the mobile inbox be able to mark a single item as read and behave slightly inconsistently with the web is something I'm all in favor of, but 1) that feeling is not universal and 2) there are assumptions and optimizations throughout the codebase based on the "never unread-read-unread" pattern which would be a big project to review and address.
That leaves us with a few options:
Mark all inbox items as read when opening a push notification with a target post. I don't want to do this because it discards information before the user gets a chance to see it.
Have all notifications take you to the inbox and not the linked post. This will let users see all the unread items but then they have to tap on the inbox item to see the actual post. This is what we've been doing in the Stack Exchange app and I don't really like it.
Take the user to the post and not mark the inbox as read. That's what we're doing today. The user still has to return to the inbox to mark it as read, but the notifications are more functional and there's no information discarded.