Priyanka accused violating code of conduct