I have managed to connect my existing members database and I’m able to login to my OpenFire server with any members login information. This works great so far.
No I would like to be able to see which friends of each member are online.
In my database I keep a friends table that stores all of my friend connections.
Table: Friendships
Columns: member_id, friend_id
How would I load all of a members friends so that when logged in to Openfire he/she will know who of his/her friends is online?
PS. I have registration and anonymous login disabled.