From: Zach Copley Date: Mon, 15 Feb 2010 21:53:49 +0000 (+0000) Subject: Twitter-bridge: lookup old foreign_user by primary key not url X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1996b709c64a1281ac623acc693b605881d34f54;p=quix0rs-gnu-social.git Twitter-bridge: lookup old foreign_user by primary key not url --- diff --git a/plugins/TwitterBridge/twitter.php b/plugins/TwitterBridge/twitter.php index 1aeba112fc..40dbb1a8c2 100644 --- a/plugins/TwitterBridge/twitter.php +++ b/plugins/TwitterBridge/twitter.php @@ -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();