only mark notifications read if the messages pain is open