private bool IsImportant() { if (this.Direction == MessageDirection.Sent || this.IsInformationMessage) { return(false); } var settings = Locator.Get <ISettings>(); if (settings.NotifyAlways) { return(true); } if (settings.NotifyOnNickname && MessageParser.Contains(this.Content, this.Network.CurrentUser.Nickname)) { return(true); } return(settings.NotifyWords.Any(s => MessageParser.Contains(this.Content, s))); }