move sound playing outside of if statement so that it plays in all cases, not just when a different user has sent a message