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-06 06:48:07 +0000
commit558934d1ddc1c1163c6a142bfe1c4232496b25d6 (patch)
tree9aaa3275406e3899f84af73f2041d20e75820fd1
parent8d320d7cc2998a4977c5de4ba571ea4f95b21dce (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 {