Updated global-chat to respond to global_state.enable_chat