IcingaDB#SendAddedComment(): suppress ack comments

This commit is contained in:
Alexander A. Klimov 2019-12-02 16:00:09 +01:00
parent ce4409d1d2
commit e7aa021bd8
1 changed files with 1 additions and 1 deletions

View File

@ -1433,7 +1433,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());