How New York City's mayor embraced the incoming president.