Merge request #59 which was directed at master
This commit is contained in:
commit
38c84a92c7
@ -274,11 +274,11 @@ class ApiAction extends Action
|
||||
$sub = Subscription::getSubscription($this->scoped, $profile);
|
||||
// Notifications on?
|
||||
$twitter_user['following'] = true;
|
||||
$twitter_user['statusnet_blocking'] = $this->scoped->hasBlocked($profile);
|
||||
$twitter_user['notifications'] = ($sub->jabber || $sub->sms);
|
||||
} catch (NoResultException $e) {
|
||||
// well, the values are already false...
|
||||
}
|
||||
$twitter_user['statusnet_blocking'] = $this->scoped->hasBlocked($profile);
|
||||
}
|
||||
|
||||
if ($get_notice) {
|
||||
|
Loading…
Reference in New Issue
Block a user