Diff

mod_mam/mod_mam.lua @ 1770:2c43e81236a3

mod_mam: Fix message hints, it's no-permanent-*storage*, not ..-store
author Kim Alvefur <zash@zash.se>
date Thu, 02 Jul 2015 20:20:31 +0200
parent 1746:5734a6199938
child 1771:398a007da84e
line wrap: on
line diff
--- a/mod_mam/mod_mam.lua	Thu Jun 18 20:34:03 2015 +0200
+++ b/mod_mam/mod_mam.lua	Thu Jul 02 20:20:31 2015 +0200
@@ -230,7 +230,7 @@
 	-- or that don't have a <body/>
 	or not stanza:get_child("body")
 	-- or if hints suggest we shouldn't
-	or stanza:get_child("no-permanent-store", "urn:xmpp:hints")
+	or stanza:get_child("no-permanent-storage", "urn:xmpp:hints")
 	or stanza:get_child("no-store", "urn:xmpp:hints") then
 		module:log("debug", "Not archiving stanza: %s (content)", stanza:top_tag());
 		return;