check URI before sending

darcs-hash:20081118192227-84dde-3318e91d2366f3cb70bc795e313072f8e81a190c.gz
This commit is contained in:
Evan Prodromou 2008-11-18 14:22:27 -05:00
parent a179a816b5
commit 7877e86506
1 changed files with 5 additions and 0 deletions

View File

@ -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);