Set sharing notification as read

Fix issue #4951

If the displayed user (on her profile) started sharing with the
current user, mark the notification as read