Merge remote-tracking branch 'upstream/master' into 1603-fromgplus-keywords
This commit is contained in:
commit
20b241738e
|
@ -771,8 +771,10 @@ function twitter_fetchtimeline($a, $uid) {
|
||||||
|
|
||||||
if (count($posts)) {
|
if (count($posts)) {
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
if ($post->id_str > $lastid)
|
if ($post->id_str > $lastid) {
|
||||||
$lastid = $post->id_str;
|
$lastid = $post->id_str;
|
||||||
|
set_pconfig($uid, 'twitter', 'lastid', $lastid);
|
||||||
|
}
|
||||||
|
|
||||||
if ($first_time)
|
if ($first_time)
|
||||||
continue;
|
continue;
|
||||||
|
@ -1698,8 +1700,10 @@ function twitter_fetchhometimeline($a, $uid) {
|
||||||
|
|
||||||
if (count($posts)) {
|
if (count($posts)) {
|
||||||
foreach ($posts as $post) {
|
foreach ($posts as $post) {
|
||||||
if ($post->id_str > $lastid)
|
if ($post->id_str > $lastid) {
|
||||||
$lastid = $post->id_str;
|
$lastid = $post->id_str;
|
||||||
|
set_pconfig($uid, 'twitter', 'lasthometimelineid', $lastid);
|
||||||
|
}
|
||||||
|
|
||||||
if ($first_time)
|
if ($first_time)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user