Mercurial > prosody-modules
view mod_devices/README.markdown @ 4744:f478855f4565
mod_rest: Stop search when an implied type is determined
Optimization only, as the iteration order is undefined. And not much
since there's not that many entries in the implied_types map.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Nov 2021 20:13:43 +0100 |
parents | 4cf65afd90f4 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: 'Device identification' ... Description ============ This is an experimental module that aims to identify the different devices (technically clients) that a user uses with their account. It is expected that at some point this will be backed by a nicer protocol, but it currently uses a variety of hacky methods to track devices between sessions. Usage ===== ``` {.lua} modules_enabled = { -- ... "devices", -- ... } ``` Configuration ============= Option summary -------------- option type default ------------------------------ ----------------------- ----------- max\_user\_devices number `5` Compatibility ============= ------- ----------------------- trunk Works 0.11 Works 0.10 Does not work ------- -----------------------