powered by Jive Software

How can you query the Openfire database to populate a Spark drop down menu?

I was looking for an opensource IM and came across Spark and Openfire. I’ve developed a plugin for Spark using the Sparkplugs - I’m impressed with Spark and Openfire. In that plugin I created I have a drop down selection that I’d like to populate from the Openfire database (postgres is the impl I have setup for now) - similar to how the Roster is populated but I can’t seem to find out how that is accomplished. Any ideas? Would I write a plugin in Openfire and then call that from Spark to retrieve the data and if so how is that done?

Any help is appreciated - thx!