]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter-bridge: lookup old foreign_user by primary key not url
authorZach Copley <zach@status.net>
Mon, 15 Feb 2010 21:53:49 +0000 (21:53 +0000)
committerZach Copley <zach@status.net>
Mon, 15 Feb 2010 22:06:18 +0000 (22:06 +0000)
plugins/TwitterBridge/twitter.php

index 1aeba112fc36c311532cf66ea269ef556074a685..40dbb1a8c2d8d013db78ffa2f2dd3dbe85257003 100644 (file)
@@ -35,7 +35,7 @@ function add_twitter_user($twitter_id, $screen_name)
     // repoed, and things like that.
 
     $luser = new Foreign_user();
-    $luser->uri = $new_uri;
+    $luser->id = $twitter_id;
     $luser->service = TWITTER_SERVICE;
     $result = $luser->delete();