CleanupTask did not remove empty rooms in clustered environment.

Description

CleanupTask only removed empty rooms in senior member, but not in
non-senior members. It caused MUC rooms out of sync among members.
Also make cleanup frequency configurable with system property
"xmpp.muc.cleanupFrequency.inMinutes" (default is 60 minutes.)

 

https://github.com/igniterealtime/Openfire/pull/1286

Environment

None
Fixed

Assignee

Dave Cridland

Reporter

Daryl Herzmann