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
commit7edee4c411d5a11c0df2061da94f252690caf01b (patch)
tree90d7f3e37f766685edf3924931f3468670f95dfb /plugins/mod_scansion_record.lua
parent491c573ed2a1c91aae993cee92030690017baa6a (diff)
downloadprosody-7edee4c411d5a11c0df2061da94f252690caf01b.tar.gz
prosody-7edee4c411d5a11c0df2061da94f252690caf01b.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",
});