Changeset

9367:577c3a7f5045

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.
author Kim Alvefur <zash@zash.se>
date Sat, 22 Sep 2018 17:24:28 +0200
parents 9366:9472b4044fc6
children 9368:0c5177738ffd
files plugins/mod_scansion_record.lua
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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");