lib/messenger/messenger.rb in messenger-0.7.0 vs lib/messenger/messenger.rb in messenger-0.7.1
- old
+ new
@@ -34,12 +34,12 @@
# twitter://username
# aim://username
case url
when /\Ahttp/ then :http
when /\Acampfire/ then :campfire
+ when /\Aslack/ then :slack
when /\Ajabber/ then :jabber
when /\Amailto|@+/ then :email
- when /\Aslack/ then :slack
end
end
def self.handler(url)
case protocol(url)