Erdogan will leave NATO 

he visited Turkey in November 2016, Jirinovski a Russian official recalls his meeting with Turkey’s President in November 2016. In that meeting Erdogan has told Jirinovski that: “Turkey will come out of NATO in the future. Today, the trio alliance of Russia, Turkey and Iran is about to be formed. That makes sense. “
It seems that Erdogan will leave NATO, once Erdogan wipe out all of his enemies including Gulenists, Kurds and leftists with NATO weaponry. 

Source 

https://tr.sputniknews.com/columnists/201702221027340095-jirinovski-rusya-turkiye-nato-erdogan/