Diff

mod_list_active/README.md @ 6211:750d64c47ec6 draft default tip

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:31:36 +0700 (6 days ago)
parent 6003:fe081789f7b5
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_list_active/README.md	Tue Mar 18 00:31:36 2025 +0700
@@ -0,0 +1,34 @@
+Description
+===========
+
+This module lists those users, who **have** used their account in a
+defined time-frame, basically the inverse of [mod_list_inactive].
+
+Dependencies
+============
+
+[mod_lastlog] must be enabled to collect the data used by this module.
+
+Usage
+=====
+
+    prosodyctl mod_list_active example.com time [format]
+
+Time is a number followed by 'day', 'week', 'month' or 'year'
+
+Formats are:
+
+  --------- ------------------------------------------------
+  default   `user@example.com`
+  event     `user@example.com last action`
+  --------- ------------------------------------------------
+
+Example
+=======
+
+    prosodyctl mod_list_active example.com 1year
+
+Help
+====
+
+    prosodyctl mod_list_active