Preserve order of imported Tweets

This commit is contained in:
Zach Copley 2009-05-20 22:08:08 +00:00
parent f90d0ac6c8
commit 1a5ef90ea0
1 changed files with 2 additions and 1 deletions

View File

@ -214,7 +214,8 @@ class TwitterStatusFetcher extends Daemon
return;
}
foreach ($timeline as $status) {
// Reverse to preserve order
foreach (array_reverse($timeline) as $status) {
// Hacktastic: filter out stuff coming from this Laconica
$source = mb_strtolower(common_config('integration', 'source'));