view mod_list_active/README.markdown @ 3634:915e32d5a147

mod_smacks: fix bug for missbehaving clients sending multiple acks in a row Missbehaving clients, sending multiple acks in a row (I'm looking at you Monal!) triggered the ack-loop-prevention code added in 2017, leaving unacked stanzas in the queue. This fixes the bug while still preventing ack-loops.
author tmolitor <thilo@eightysoft.de>
date Tue, 30 Jul 2019 02:07:13 +0200
parents 33f7ca7bdc86
children
line wrap: on
line source

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