mrDoctorWho/vk4xmpp

View on GitHub
extensions/user_activity.README.md

Summary

Maintainability
Test Coverage
Installation
====

Bear in mind that there can be limits on the jabber server for conference per jid. Read the wiki for more details.

1. USER_LIFETIME_LIMIT — the limit of the time after that user considered inactive and will be removed. Time must be formatted as text and contain the time measurement variables after the digits.

For example:

```python
USER_LIFETIME_LIMIT = "28y09M21d"
```

Will make users who joined 28 years 9 Months 21 ago deleted.

You can wheter ignore or use any of these chars: *smdMy*. Those are the time measurement variables.

Supported measurements: s for seconds, m for minutes, d for days, M for months, y for years.

The number MUST contain 2 digits as well.

Note: if you won't set the field, plugin won't remove any user, but still will be gathering statistics.