]> 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:05:23 +0000 (22:05 +0000)
plugins/TwitterBridge/twitter.php

index 2a075300f2f9b6418de2db350a55b5d4e3695f1d..ce989768e6ef224abed47d18512e504c5d3dfb02 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();