mod_mam: Same with no-storage, not no-store
authorKim Alvefur <zash@zash.se>
Thu, 02 Jul 2015 20:30:17 +0200
changeset 1775 398a007da84e
parent 1774 2c43e81236a3
child 1776 45f7e3c2557f
mod_mam: Same with no-storage, not no-store
mod_mam/mod_mam.lua
--- a/mod_mam/mod_mam.lua	Thu Jul 02 20:20:31 2015 +0200
+++ b/mod_mam/mod_mam.lua	Thu Jul 02 20:30:17 2015 +0200
@@ -231,7 +231,7 @@
 	or not stanza:get_child("body")
 	-- or if hints suggest we shouldn't
 	or stanza:get_child("no-permanent-storage", "urn:xmpp:hints")
-	or stanza:get_child("no-store", "urn:xmpp:hints") then
+	or stanza:get_child("no-storage", "urn:xmpp:hints") then
 		module:log("debug", "Not archiving stanza: %s (content)", stanza:top_tag());
 		return;
 	end