Updated to allow the pulling of messages from a chat room