diaspora/diaspora — pull request #5006 by taratatach (2014-06-18 22:17:10+00:00)
Title: Set mention notification as read when viewing post

Fix issue #4940

- If a mention for the current user and the displayed post exists,
mark it as read
- Use set_read_state instead of manually setting unread as false