mod_scansion_record: Remove unused JID mapping table [luacheck]
I have no idea what Matthew meant to use this for. Easy enough to put back.
--- a/plugins/mod_scansion_record.lua Sat Sep 22 15:14:25 2018 +0200
+++ b/plugins/mod_scansion_record.lua Sat Sep 22 17:24:28 2018 +0200
@@ -2,8 +2,6 @@
local devices = { "", "phone", "laptop", "tablet", "toaster", "fridge", "shoe" };
local users = {};
-local full_jids = {};
-
local filters = require "util.filters";
local id = require "util.id";
local dt = require "util.datetime";
@@ -69,8 +67,6 @@
session.scansion_device = device;
session.scansion_id = user.character..(device ~= "" and "'s "..device or device);
- full_jids[session.full_jid] = session.scansion_id;
-
module:log("warn", "Connected: %s's %s", user.character, device);
record_event(session, "connects");