Persistent Rooms

Is there a way to create persistent rooms by code?

Something like _room.persistent = true;

I have lots of persistent rooms to create, so i don´t want to do it by hand in the admin interface.

Thanks.

Hello,

The easiest thing to do is to manually insert the entries into the database and then restart Openfire.

daryl