OSDN Git Service

投稿時取得の設定に関わらず投稿した発言を直ちにRecentタブに追加する
[opentween/open-tween.git] / OpenTween / Tween.cs
index 6292d5f..02bc23a 100644 (file)
@@ -1779,19 +1779,15 @@ namespace OpenTween
             this.SetMainWindowTitle();
 
             // TLに反映
-            if (this.settings.Common.PostAndGet)
-            {
-                await this.RefreshTabAsync<HomeTabModel>();
-            }
-            else
+            if (post != null)
             {
-                if (post != null)
-                {
-                    this.statuses.AddPost(post);
-                    this.statuses.DistributePosts();
-                }
+                this.statuses.AddPost(post);
+                this.statuses.DistributePosts();
                 this.RefreshTimeline();
             }
+
+            if (this.settings.Common.PostAndGet)
+                await this.RefreshTabAsync<HomeTabModel>();
         }
 
         private async Task RetweetAsync(IReadOnlyList<long> statusIds)