annotate mod_query_client_ver/README.md @ 6015:7b093a9b95ea
mod_report_forward: Fix traceback on error message passed to datetime function
If archive:get() returns an error, e.g. because it can't find a message
with the given ID, it may return e.g. nil, "item-not-found" or similar
where the error condition ends up in reported_message_time, which gets
passed to util.datetime, which thus ends up doing math to a string or
error object.
| author |
Kim Alvefur <zash@zash.se> |
| date |
Wed, 06 Nov 2024 22:25:41 +0100 |
| parents |
fe081789f7b5 |
| children |
|
| rev |
line source |
|
2994
|
1 # Introduction
|
|
|
2
|
|
|
3 This module sends a [version query][xep0092] to clients when they
|
|
|
4 connect, and logs the response, allowing statistics of client usage to
|
|
|
5 be recorded.
|
|
|
6
|
|
|
7 Note that since this is per connection, there will be a bias towards
|
|
|
8 mobile clients on bad connections.
|
|
|
9
|
|
|
10 ## Example
|
|
|
11
|
|
|
12 info Running Running Swift version 4.0
|