From 2fe2734b3e71a4892ddb4a52a78c2c0c3f47297f Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 20 Apr 2012 23:08:29 +0400 Subject: [PATCH] Fixed a critical bug --- FLocal.Common/dataobjects/Post.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FLocal.Common/dataobjects/Post.cs b/FLocal.Common/dataobjects/Post.cs index dabc529..1163b05 100644 --- a/FLocal.Common/dataobjects/Post.cs +++ b/FLocal.Common/dataobjects/Post.cs @@ -335,8 +335,8 @@ namespace FLocal.Common.dataobjects { DateTime date = DateTime.Now; HashSet newMentionedUsersIds = new HashSet(); - if(parentPost != null && parentPost.poster.id != poster.id) { - newMentionedUsersIds.Add(parentPost.poster.id); + if(this.parentPostId != null && this.parentPost.poster.id != this.poster.id) { + newMentionedUsersIds.Add(this.parentPost.poster.id); } string newBodyIntermediate = UBBParser.UBBToIntermediate( new DelegatePostParsingContext(mentionedUser => newMentionedUsersIds.Add(mentionedUser.id)),