lib/hipbot/callbacks/presence.rb in hipbot-1.0.3 vs lib/hipbot/callbacks/presence.rb in hipbot-1.0.4
- old
+ new
@@ -3,15 +3,11 @@
class Presence < Base
attr_accessor :presence
protected
- def online_presence?
- presence.empty?
- end
-
def offline_presence?
- presence == 'unavailable'
+ presence == :unavailable
end
end
end
end