OSDN Git Service

冗長な記述を削除 (不要な .ToString(), 括弧など)
[opentween/open-tween.git] / OpenTween / Connection / Imgur.cs
index a0ad5c1..c75ee3f 100644 (file)
@@ -77,6 +77,8 @@ namespace OpenTween.Connection
             }
         }
 
+        public bool CanUseAltText => false;
+
         public bool CheckFileExtension(string fileExtension)
         {
             return SupportedExtensions.Contains(fileExtension, StringComparer.OrdinalIgnoreCase);
@@ -133,7 +135,7 @@ namespace OpenTween.Connection
 
             var textWithImageUrl = text + " " + imageUrl.Trim();
 
-            await Task.Run(() => this.twitter.PostStatus(textWithImageUrl, inReplyToStatusId))
+            await this.twitter.PostStatus(textWithImageUrl, inReplyToStatusId)
                 .ConfigureAwait(false);
         }