aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_scansion_record.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-09-22 19:04:12 +0200
committerKim Alvefur <zash@zash.se>2018-09-22 19:04:12 +0200
commit72d1782966b8890bfc4eb1ff3886c2ca2fb764b0 (patch)
tree90d7f3e37f766685edf3924931f3468670f95dfb /plugins/mod_scansion_record.lua
parentf7204447a6af049cdd5ba1e5dcdfbdbbf538f1f9 (diff)
downloadprosody-72d1782966b8890bfc4eb1ff3886c2ca2fb764b0.tar.gz
prosody-72d1782966b8890bfc4eb1ff3886c2ca2fb764b0.zip
mod_scansion_record: Record the full identity including device name
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r--plugins/mod_scansion_record.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua
index abcbf749..c17a2c8d 100644
--- a/plugins/mod_scansion_record.lua
+++ b/plugins/mod_scansion_record.lua
@@ -75,7 +75,7 @@ module:hook("resource-bind", function (event)
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",
});