Minor fix for the chat module