summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-05 21:39:29 -0800
committerZach Copley <zach@status.net>2010-02-08 12:16:43 -0800
commit21c0e75a2e52d63eb46de6f5938b00c4c9ba8323 (patch)
tree8ae1b1fab02f89ad4dc730dbd0ad7693f3372f60
parent23802e58d6d01e5f8dacade2161147d31b2dacb9 (diff)
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter user.
-rw-r--r--plugins/TwitterBridge/twitterauthorization.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TwitterBridge/twitterauthorization.php b/plugins/TwitterBridge/twitterauthorization.php
index b2657ff61..dbef438a4 100644
--- a/plugins/TwitterBridge/twitterauthorization.php
+++ b/plugins/TwitterBridge/twitterauthorization.php
@@ -219,7 +219,7 @@ class TwitterauthorizationAction extends Action
$user = common_current_user();
$this->saveForeignLink($user->id, $twitter_user->id, $atok);
- save_twitter_user($twitter_user->id, $twitter_user->name);
+ save_twitter_user($twitter_user->id, $twitter_user->screen_name);
} else {