From: Evan Prodromou Date: Tue, 18 Nov 2008 19:22:27 +0000 (-0500) Subject: check URI before sending X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7877e86506877c92165602d322e587105ffe4b7d;p=quix0rs-gnu-social.git check URI before sending darcs-hash:20081118192227-84dde-3318e91d2366f3cb70bc795e313072f8e81a190c.gz --- diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 2c932178fa..0adcc08481 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -136,6 +136,11 @@ class RemotesubscribeAction extends Action { $this->show_form(_('That\'s a local profile! Login to subscribe.')); return; } + + if (User::staticGet('uri', omb_local_id($omb[OAUTH_ENDPOINT_REQUEST]))) { + $this->show_form(_('That\'s a local profile! Login to subscribe.')); + return; + } list($token, $secret) = $this->request_token($omb);