Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Not sure why we're removing colons -- take this out

  • Loading branch information...
commit d17e670c416f7829c2dc92691a2a3375c859671a 1 parent 05a339f
@brandur authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/modules/twitter.rb
View
2  lib/modules/twitter.rb
@@ -8,7 +8,7 @@ def update
num_updates = 0
json_for("https://api.twitter.com/1/statuses/user_timeline.json?screen_name=#{config.user}") do |json|
json.each do |item|
- tweet = Tweet.new :content => item["text"].gsub(/^[^:]+: /, ''),
+ tweet = Tweet.new :content => item["text"],
:permalink => "http://twitter.com/#{config.user}/statuses/#{item["id"]}",
:published_at => Time.parse(item["created_at"])
if tweet.valid?
Please sign in to comment.
Something went wrong with that request. Please try again.