mirror of https://github.com/Icinga/icinga2.git
IcingaDB#SendAddedComment(): suppress ack comments
This commit is contained in:
parent
ce4409d1d2
commit
e7aa021bd8
|
@ -1433,7 +1433,7 @@ void IcingaDB::SendRemovedDowntime(const Downtime::Ptr& downtime)
|
||||||
|
|
||||||
void IcingaDB::SendAddedComment(const Comment::Ptr& comment)
|
void IcingaDB::SendAddedComment(const Comment::Ptr& comment)
|
||||||
{
|
{
|
||||||
if (!m_Rcon || !m_Rcon->IsConnected())
|
if (!m_Rcon || !m_Rcon->IsConnected() || comment->GetEntryType() != CommentUser)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
auto checkable (comment->GetCheckable());
|
auto checkable (comment->GetCheckable());
|
||||||
|
|
Loading…
Reference in New Issue