chat: store sync tree status in application