don't include attentions to groups
This commit is contained in:
parent
4898d83fe8
commit
b1852c79c0
|
@ -716,6 +716,7 @@ class QvitterPlugin extends Plugin {
|
|||
$attentions = $notice->getAttentionProfiles();
|
||||
$attentions_array = array();
|
||||
foreach ($attentions as $attn) {
|
||||
if(!$attn->isGroup()) {
|
||||
$attentions_array[] = array(
|
||||
'id' => $attn->getID(),
|
||||
'screen_name' => $attn->getNickname(),
|
||||
|
@ -724,6 +725,7 @@ class QvitterPlugin extends Plugin {
|
|||
'ostatus_uri' => $attn->getUri(),
|
||||
);
|
||||
}
|
||||
}
|
||||
$twitter_status['attentions'] = $attentions_array;
|
||||
} catch (Exception $e) {
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user