aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-02-20 00:51:12 +0100
committerKim Alvefur <zash@zash.se>2017-02-20 00:51:12 +0100
commit04f890a467a18c9f29b7cc49ae85a928984d3344 (patch)
tree1b2ea9501b8a79af93472dfefa917e89a5e20e81 /plugins/mod_mam
parent7e36855e9b799d130dd75b5b8f212a8b79f2c8da (diff)
downloadprosody-04f890a467a18c9f29b7cc49ae85a928984d3344.tar.gz
prosody-04f890a467a18c9f29b7cc49ae85a928984d3344.zip
mod_mam: Remove repeated blank line
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 23106ba8..1b935e0e 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -134,7 +134,6 @@ module:hook("iq-set/self/"..xmlns_mam..":query", function(event)
local before, after = qset and qset.before, qset and qset.after;
if type(before) ~= "string" then before = nil; end
-
-- Load all the data!
local data, err = archive:find(origin.username, {
start = qstart; ["end"] = qend; -- Time range
@@ -307,7 +306,6 @@ local function c2s_message_handler(event)
return message_handler(event, true);
end
-
local function strip_stanza_id(event)
local strip_by = jid_bare(event.origin.full_jid);
event.stanza:maptags(function(tag)