]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Store Twitter screen_name, not name, for foreign_user.nickname when saving Twitter...
authorZach Copley <zach@status.net>
Sat, 6 Feb 2010 05:39:29 +0000 (21:39 -0800)
committerZach Copley <zach@status.net>
Sat, 6 Feb 2010 05:39:29 +0000 (21:39 -0800)
plugins/TwitterBridge/twitterauthorization.php

index b2657ff61fb0bbd220e71105139b8cc1c51fd96d..dbef438a4bd10dc4edfabd4695142e374d89eeba 100644 (file)
@@ -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 {