igniterealtime / openfire-userStatus-plugin

Automatically saves the last status (presence, IP address, logon and logoff time) per user and resource to userStatus table in the Openfire database
4 stars 6 forks source link

UserStatus plugin should clean up when User gets deleted #1

Open akrherz opened 5 years ago

akrherz commented 5 years ago

...Migrated from Ignite Jira OF-1537...

The UserStatus plugin maintains user data in database tables. When a user is deleted, its data should be removed from those tables.

The most obvious solution is to register a UserEventListener, and use that to remove data when a user gets removed.