Changed detecting of types of chat messages