From a5ecee76c60565793c0d5decab78019565d5663e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 10 Jan 2016 08:50:18 +0100 Subject: [PATCH] Do not change login on user update. --- lib/tweet_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tweet_base.rb b/lib/tweet_base.rb index ff68e94f8..c33f75997 100644 --- a/lib/tweet_base.rb +++ b/lib/tweet_base.rb @@ -35,7 +35,6 @@ class TweetBase # create or update user user_data = { - login: tweet_user.screen_name, image_source: tweet_user.profile_image_url.to_s, } if auth @@ -45,6 +44,7 @@ class TweetBase end user.update_attributes(user_data) else + user_data[:login] = tweet_user.screen_name user_data[:firstname] = tweet_user.name user_data[:note] = tweet_user.description user_data[:active] = true