private void InitializeText() { if (InReplyTo == null) { Text = InitialText; return; } List <string> mentions = new List <string> { InReplyTo.User.ScreenName }; if (ReplyToAll) { foreach (var m in InReplyTo.Model.Entities.UserMentionEntities) { mentions.Add(Constants.Twitter.Mention + m.ScreenName); } mentions.Add(InReplyTo.SourceUser?.ScreenName); } var toAdd = mentions.Distinct().Where(m => !string.IsNullOrEmpty(m)); var currentContextName = Constants.Twitter.Mention + InReplyTo.Context.AccountName; toAdd = toAdd.Where(m => m != currentContextName); Text = string.Join(" ", toAdd) + " "; ScrollToEnd?.Invoke(this, EventArgs.Empty); }