forked from GNUsocial/gnu-social
Twitter bridge: verify creds was taking user ID from the status instead
of the user object, and failing if user hadn't ever posted on Twitter.
This commit is contained in:
@@ -354,7 +354,7 @@ class TwittersettingsAction extends SettingsAction
|
||||
return false;
|
||||
}
|
||||
|
||||
$twitter_id = $user->status->id;
|
||||
$twitter_id = $user->id;
|
||||
|
||||
if ($twitter_id) {
|
||||
return $twitter_id;
|
||||
|
||||
Reference in New Issue
Block a user