Software /
code /
prosody
Changeset
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 |
parents | 1563:c5078fab0978 |
children | 1565:f1eeb049a0a5 |
files | util/muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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