OSDN Git Service

Merge remote-tracking branch 'naminodarie/SortedRetweet'
authorKimura Youichi <kim.upsilon@bucyou.net>
Mon, 1 Aug 2016 15:01:32 +0000 (00:01 +0900)
committerKimura Youichi <kim.upsilon@bucyou.net>
Mon, 1 Aug 2016 15:01:40 +0000 (00:01 +0900)
OpenTween/Tween.cs

index 454b325..d8fda21 100644 (file)
@@ -2876,11 +2876,10 @@ namespace OpenTween
 
             p.Report("Posting...");
 
-            var retweetTasks = from statusId in statusIds
-                               select this.tw.PostRetweet(statusId, read);
-
-            await Task.WhenAll(retweetTasks)
-                .ConfigureAwait(false);
+            foreach (var statusId in statusIds)
+            {
+                await this.tw.PostRetweet(statusId, read).ConfigureAwait(false);
+            }
 
             if (ct.IsCancellationRequested)
                 return;