Software /
code /
prosody
Diff
plugins/mod_scansion_record.lua @ 9370:7872abb9fc1f
mod_scansion_record: Record the full identity including device name
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 22 Sep 2018 19:04:12 +0200 |
parent | 9369:dd452f932b67 |
child | 9371:ac17b0aa3dfb |
line wrap: on
line diff
--- a/plugins/mod_scansion_record.lua Sat Sep 22 18:43:09 2018 +0200 +++ b/plugins/mod_scansion_record.lua Sat Sep 22 19:04:12 2018 +0200 @@ -75,7 +75,7 @@ session.scansion_device = device; session.scansion_id = user.character..(device ~= "" and "'s "..device or device); - record_object("Client", user.character, { + record_object("Client", session.scansion_id, { jid = session.full_jid, password = "password", });