Merge pull request #7677 from Icinga/bugfix/icingadb-add-ack-comment

IcingaDB#SendAddedComment(): suppress ack comments
This commit is contained in:
Noah Hilverling 2019-12-02 16:09:25 +01:00 committed by GitHub
commit 1b60419a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1438,7 +1438,7 @@ void IcingaDB::SendRemovedDowntime(const Downtime::Ptr& downtime)
void IcingaDB::SendAddedComment(const Comment::Ptr& comment)
{
if (!m_Rcon || !m_Rcon->IsConnected())
if (!m_Rcon || !m_Rcon->IsConnected() || comment->GetEntryType() != CommentUser)
return;
auto checkable (comment->GetCheckable());