mirror of https://github.com/Icinga/icinga2.git
Merge pull request #7677 from Icinga/bugfix/icingadb-add-ack-comment
IcingaDB#SendAddedComment(): suppress ack comments
This commit is contained in:
commit
1b60419a1b
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue