Hi
OK, then I'm gonna explain what I want to do more clearly to see what's the best option. Actually, the chat is only a part of my application. You can do other things with it... The main point is that an user is not just an username, it has other properties like an avatar, a position (latitude and longitude, etc...).
I think there are two options to achieve these properties management:
- Manage these infos with OpenFire
- Manage these infos in a separate database table and use a foreign key to make the link
I know how to do the second option but it means that I can't use the XMPP connection to get all the info. I already have a REST API so I could use it, it is not a problem, but I'm thinking that it would be more efficient to have these infos managed by OpenFire and sent in some way by it. The problem is that I really don't know what's the best approach for this.
Could you give me some advices?
Thanks