mod_mam: Normalize whitespace
authorKim Alvefur <zash@zash.se>
Mon, 20 Feb 2017 00:48:31 +0100
changeset 2516 bc7539ccbde1
parent 2515 34a6ba5dfe4f
child 2517 66a61f48e376
mod_mam: Normalize whitespace
mod_mam/mod_mam.lua
--- a/mod_mam/mod_mam.lua	Mon Feb 20 00:09:13 2017 +0100
+++ b/mod_mam/mod_mam.lua	Mon Feb 20 00:48:31 2017 +0100
@@ -141,7 +141,6 @@
 	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
@@ -267,6 +266,7 @@
 		log("debug", "Not archiving stanza: %s (type)", stanza:top_tag());
 		return;
 	end
+
 	-- or if hints suggest we shouldn't
 	if not stanza:get_child("store", "urn:xmpp:hints") then -- No hint telling us we should store
 		if stanza:get_child("no-permanent-store", "urn:xmpp:hints")