Tue, 21 Jul 2009 13:19:37 +0100
mod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a traceback
util/muc.lua | file | annotate | diff | comparison | revisions |
--- a/util/muc.lua Mon Jul 20 14:59:51 2009 +0100 +++ b/util/muc.lua Tue Jul 21 13:19:37 2009 +0100 @@ -159,7 +159,7 @@ end end if room._data['subject'] then - room:route_stanza(st.message({type='groupchat', from=room, to=to}):tag("subject"):text(room._data['subject'])); + room:route_stanza(st.message({type='groupchat', from=room.jid, to=to}):tag("subject"):text(room._data['subject'])); end end