Skip to content
Browse files

Accept all possible twitter urls

  • Loading branch information...
1 parent 1853e98 commit ed80c0bc146c4ddecb5a1df77e0d0a2639477428 @macournoyer committed Jul 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/scout/listeners/url_listener.rb
View
2 lib/scout/listeners/url_listener.rb
@@ -13,7 +13,7 @@ def process
url = message[LINK_RE, 1]
log "> #{url}"
case url
- when %r(twitter\.com.+/status/.+)i
+ when %r(twitter\.com.+/status(es)?/.+)i
tweet_content = extract_tweet_content(url)
unless tweet_content.blank?
paste Text::Format.new(:text => tweet_content, :first_indent => 0).paragraphs

0 comments on commit ed80c0b

Please sign in to comment.
Something went wrong with that request. Please try again.