Ignore article created by system.

This commit is contained in:
Martin Edenhofer 2016-07-12 11:00:32 +02:00
parent ede47d509d
commit 8f5d9063a4

View file

@ -130,6 +130,7 @@ class Transaction::Karma
local_sender = Ticket::Article::Sender.lookup(id: local_article.sender_id)
return false if !local_sender
next if local_sender.name == 'System'
last_sender_customer = if local_sender.name == 'Customer'
true