Merge pull request #9288 from Icinga/9272

IcingaDB#SendRemovedComment(): ignore ack comments like #SendAddedComment()
This commit is contained in:
Julian Brost 2022-03-22 15:06:06 +01:00 committed by GitHub
commit cfa6f1c6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2022,7 +2022,7 @@ void IcingaDB::SendAddedComment(const Comment::Ptr& comment)
void IcingaDB::SendRemovedComment(const Comment::Ptr& comment)
{
if (!GetActive()) {
if (comment->GetEntryType() != CommentUser || !GetActive()) {
return;
}