Issue 9642: Twitter: Fix posting loop
return;
}
- if ($post['app'] == 'Twitter') {
+ if (substr($post['app'], 0, 7) == 'Twitter') {
$b['execute'] = false;
return;
}
{
$datarray['api_source'] = true;
$datarray['profile_uid'] = $uid;
- $datarray['extid'] = Protocol::TWITTER . ':' . $post->id;
+ $datarray['extid'] = 'twitter::' . $post->id;
$datarray['protocol'] = Conversation::PARCEL_TWITTER;
$datarray['source'] = json_encode($post);
$datarray['title'] = '';