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:
parent
125f05563b
commit
3bb7ea79c0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user