lib/del/source.rb in del-0.1.13 vs lib/del/source.rb in del-0.1.14
- old
+ new
@@ -6,10 +6,10 @@
@user = user
@room = room
end
def from?(robot)
- user.attributes.jid == robot.jid.to_s
+ user.jid == robot.jid.to_s
end
def reply(robot, message)
robot.send_message(room || user.jid, message)
end