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=01c428796f7986fddc0e602656a57ea63055bffd;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 2a075300f2..ce989768e6 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();