This module lists those users, who haven’t used their account in a defined time-frame.
mod_lastlog must be enabled to collect the data used by this module.
prosodyctl mod_list_inactive example.com time [format]
Time is a number followed by ‘day’, ‘week’, ‘month’ or ‘year’
Formats are:
delete | user:delete"user@example.com" -- last action |
default | user@example.com |
event | user@example.com last action |
prosodyctl mod_list_inactive example.com 1year
prosodyctl mod_list_inactive
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_list_inactive
For earlier versions see the documentation for installing 3rd party modules