checking if in a room for messages