@ -25,7 +25,7 @@ namespace Squidex.Domain.Apps.Core.Rules.EnrichedEvents
[IgnoreDataMember]
public override long Partition
{
get => MentionedUser.Id.GetHashCode();
get => MentionedUser?.Id.GetHashCode() ?? 0;
}
public bool ShouldSerializeMentionedUser()
@ -20,7 +20,7 @@ namespace Squidex.Domain.Apps.Core.Rules.EnrichedEvents
get => SchemaId.GetHashCode();
get => SchemaId?.GetHashCode() ?? 0;
@ -15,7 +15,7 @@ namespace Squidex.Domain.Apps.Core.Rules.EnrichedEvents
get => AppId.GetHashCode();
get => AppId?.GetHashCode() ?? 0;