refactored message listener to use GroupChatListener and come from chat holder