Check if addChatMsg is called