How do I filter the list of chat messages?