# HG changeset patch # User Matthew Wild # Date 1248178777 -3600 # Node ID 2437dcd46937a35be36a166fa9e2bf8535a43a04 # Parent c5078fab097871de1b382954dfa415944242cd0b mod_muc: Set correct 'from' JID when sending the room subject to joiners, fixes a traceback diff -r c5078fab0978 -r 2437dcd46937 util/muc.lua --- 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