diff options
-rw-r--r-- | util/muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/muc.lua b/util/muc.lua index b0fc8c84..b3673f63 100644 --- a/util/muc.lua +++ b/util/muc.lua @@ -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 |