Software / code / prosody-modules
Comparison
mod_devices/README.markdown @ 3397:4cf65afd90f4
mod_devices: New module for device identification
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 06 Dec 2018 16:57:01 +0000 |
comparison
equal
deleted
inserted
replaced
| 3396:3bf847dbb063 | 3397:4cf65afd90f4 |
|---|---|
| 1 --- | |
| 2 labels: | |
| 3 - 'Stage-Alpha' | |
| 4 summary: 'Device identification' | |
| 5 ... | |
| 6 | |
| 7 Description | |
| 8 ============ | |
| 9 | |
| 10 This is an experimental module that aims to identify the different | |
| 11 devices (technically clients) that a user uses with their account. | |
| 12 | |
| 13 It is expected that at some point this will be backed by a nicer protocol, | |
| 14 but it currently uses a variety of hacky methods to track devices between | |
| 15 sessions. | |
| 16 | |
| 17 Usage | |
| 18 ===== | |
| 19 | |
| 20 ``` {.lua} | |
| 21 modules_enabled = { | |
| 22 -- ... | |
| 23 "devices", | |
| 24 -- ... | |
| 25 } | |
| 26 ``` | |
| 27 | |
| 28 Configuration | |
| 29 ============= | |
| 30 | |
| 31 Option summary | |
| 32 -------------- | |
| 33 | |
| 34 option type default | |
| 35 ------------------------------ ----------------------- ----------- | |
| 36 max\_user\_devices number `5` | |
| 37 | |
| 38 | |
| 39 Compatibility | |
| 40 ============= | |
| 41 | |
| 42 ------- ----------------------- | |
| 43 trunk Works | |
| 44 0.11 Works | |
| 45 0.10 Does not work | |
| 46 ------- ----------------------- |