ejabberdsql2prosody: Improved help message
[prosody.git] / util / muc.lua
index 87eba130c2608192e864d73dc874ef523de4c5e6..b3673f63d653936cbadf7fd752f6be3dc61977b7 100644 (file)
@@ -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