Revert "Added new queries to the chat manager. Also new fields."

This reverts commit d5c4b58023c43d2b1afb92faf10467499bf31c39.