lib/robut/room.rb in sclemmer-robut-0.5.2 vs lib/robut/room.rb in sclemmer-robut-0.5.3

- old
+ new

@@ -23,8 +23,10 @@ muc.join(self.name + '/' + connection.config.nick) end # Send +message+ to the room we're currently connected to def reply(message, to) - muc.send(Jabber::Message.new(muc.room, message)) + msg = Jabber::Message.new(muc.room) + msg.set_xhtml_body(message) + muc.send(msg) end end