Fixed chat-event functionality