# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1487061934 -3600
# Node ID e065e94f0ac6d3387887b8ef136f5e6d9fe8769a
# Parent  c6761ebe613b1973109efe5311ffe2e121564066
mod_mam_muc: Remove fallback for util.stanza.is_stanza, it should be available

diff -r c6761ebe613b -r e065e94f0ac6 mod_mam_muc/mod_mam_muc.lua
--- a/mod_mam_muc/mod_mam_muc.lua	Tue Feb 14 09:40:24 2017 +0100
+++ b/mod_mam_muc/mod_mam_muc.lua	Tue Feb 14 09:45:34 2017 +0100
@@ -33,11 +33,7 @@
 		return rooms[jid];
 	end
 
-local getmetatable = getmetatable;
-local is_stanza = st.is_stanza or function(x)
-	return getmetatable(x) == st.stanza_mt;
-end
-
+local is_stanza = st.is_stanza;
 local tostring = tostring;
 local time_now = os.time;
 local m_min = math.min;