Software /
code /
prosody
Changeset
1140:76bd1bd14234
mod_muc: s/broadcast_history/send_history/ - since the cast isn't broad
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 08 May 2009 01:29:43 +0500 |
parents | 1139:ed4d43c3eaf2 |
children | 1141:9d9570516ce8 |
files | plugins/mod_muc.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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