X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=util%2Fmuc.lua;h=b3673f63d653936cbadf7fd752f6be3dc61977b7;hb=115f82b6a68b43ae4b9661fb579a25a05f57225f;hp=87eba130c2608192e864d73dc874ef523de4c5e6;hpb=02487b98e0d4e7cd3a6faa8c666044cb5badc729;p=prosody.git diff --git a/util/muc.lua b/util/muc.lua index 87eba130..b3673f63 100644 --- a/util/muc.lua +++ b/util/muc.lua @@ -1,4 +1,4 @@ --- Prosody IM v0.4 +-- Prosody IM -- Copyright (C) 2008-2009 Matthew Wild -- Copyright (C) 2008-2009 Waqas Hussain -- @@ -159,7 +159,7 @@ local function room_send_history(room, to) 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