From e7aa021bd8ef1ec8237dd8d084218b637b1340b5 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 2 Dec 2019 16:00:09 +0100 Subject: [PATCH] IcingaDB#SendAddedComment(): suppress ack comments --- lib/icingadb/icingadb-objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index 222aa99fa..2d02d021b 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -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());