Still relatively new here to XMPP so forgive me if I ask a newb question:
What is the correct way to associate custom data with each user of a chatroom? (ie photo, etc)
Currently I am setting up a connection, logging the current user in, “trying” to set that user’s presence with custom data, and then joining a room.
I say “trying” above on setting the user’s presence because that presence doesn’t seem to be carried over to the room when the room broadcasts its PRESENCE event.
I’ve figured out how to add an extension to a presence and broadcast that after a user joins a room which updates everyone to the new user’s data, but the issue I’m running into is that that new user doesn’t know about all of the users’ custom presence data already in the room because the presence is generic.
Please tell me if I’m missing something key here too and am just going about this in a completely wrong way.