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)),