I have a simple use case of sharing my profile picture to all contacts in my roster. I had implemented it using XMPP PEP which is a subset of Pub/Sub.
PROBLEM
When contacts in my roster come online, I receive the last published profile pic item of that contact. This happens every time the contact comes online. Am I missing a simple configuration.
I am using smack 4.1.0 android client. The XMPP server is ejabberd.