Mercurial > prosody-hg
diff plugins/mod_account_activity.lua @ 14168:4f4c346e4f39
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 19 May 2026 19:27:43 +0100 |
| parents | 04c3687b5641 0c81b8fede94 |
| children | 3b26b8772fb1 |
line wrap: on
line diff
--- a/plugins/mod_account_activity.lua Wed Apr 29 21:41:10 2026 +0200 +++ b/plugins/mod_account_activity.lua Tue May 19 19:27:43 2026 +0100 @@ -60,6 +60,8 @@ }; host_selector = "host"; handler = function(self, host, duration, opts) --luacheck: ignore 212/self + opts = opts or {}; + local um = require "prosody.core.usermanager"; local duration_sec = require "prosody.util.human.io".parse_duration(duration or ""); if not duration_sec then
