This is a migration script for converting data stored by mod_lastlog2 (a community module) to mod_account_activity (a newer module which is supplied with Prosody 13.0 and later).
This module performs the migration automatically as soon as it is loaded.
By default it will remove data from the mod_lastlog2 store unless you
set migrate_lastlog2_auto_remove = false
.
Works with Prosody 13.0 and later.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_migrate_lastlog2
For earlier versions see the documentation for installing 3rd party modules