mod_mam_muc/mod_mam_muc.lua
changeset 2505 04064f01df0e
parent 2504 ec046f915506
child 2506 f576ac1cad65
equal deleted inserted replaced
2504:ec046f915506 2505:04064f01df0e
   215 
   215 
   216 	if not data then
   216 	if not data then
   217 		origin.send(st.error_reply(stanza, "cancel", "internal-server-error"));
   217 		origin.send(st.error_reply(stanza, "cancel", "internal-server-error"));
   218 		return true;
   218 		return true;
   219 	end
   219 	end
   220 	local total = err;
   220 	local total = tonumber(err);
   221 
   221 
   222 	origin.send(st.reply(stanza))
   222 	origin.send(st.reply(stanza))
   223 	local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to };
   223 	local msg_reply_attr = { to = stanza.attr.from, from = stanza.attr.to };
   224 
   224 
   225 	local results = {};
   225 	local results = {};