Software /
code /
prosody
Diff
util/muc.lua @ 1564:2437dcd46937
mod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a traceback
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 21 Jul 2009 13:19:37 +0100 |
parent | 1523:841d61be198f |
child | 1621:a63ff2fbba8d |
line wrap: on
line diff
--- 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