/// <summary> /// ユーザーのミュートを解除する /// </summary> private async void DestroyMute() { var text = this.Name + "(@" + this.ScreenName + ")のミュートを解除しますか?"; if (!Properties.Settings.Default.IsConfirmOfDestroyMute || await this.Confirm(text) == MessageDialogResult.Affirmative) { var user = await AccountTokens.DestroyMuteAsync(this.TimelineModel.TokenSuffix, this.Id); if (user != null) { CommonMethods.Notify(this.Name + "(@" + this.ScreenName + ")のミュートを解除しました", MainWindow.NotificationType.Success); this.IsMuting = false; this.LoadRelationship(user); } else { CommonMethods.Notify(this.Name + "(@" + this.ScreenName + ")のミュート解除が正常に完了しませんでした", MainWindow.NotificationType.Error); } } }