--- a/plugins/mod_muc.lua Fri May 08 01:27:22 2009 +0500
+++ b/plugins/mod_muc.lua Fri May 08 01:29:43 2009 +0500
@@ -205,7 +205,7 @@
end
end
end
-function broadcast_history(room, to)
+function send_history(room, to)
local history = rooms_info:get(room, 'history'); -- send discussion history
if history then
for _, msg in ipairs(history) do
@@ -315,7 +315,7 @@
send_occupant_list(room, from);
pr.attr.from = to;
broadcast_presence_stanza(room, pr);
- broadcast_history(room, from);
+ send_history(room, from);
end
end
elseif type ~= 'result' then -- bad type