You know that in accordance to shias Caliph Umar ibn Abdulaziz was the one who stopped people cursing sayidina Ali on minbars. But do you think they thank him due to this? NO.
Shaykh of Shias Hashim al-Bahrani in his book Yanabial Maajiz wal Usul ad-Dalail (p 245, Muasasat Maarif al-Islami) quoted imam saying about Umar ibn Abdulaziz:
فإذا مات لعنه اهل السماء واستغفر له اهل الارض
…and when he would die he would be cursed by inhabitants of heaven and prayed upon by inhabitants of earth..