Ignore article created by system.
This commit is contained in:
parent
ede47d509d
commit
8f5d9063a4
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ class Transaction::Karma
|
||||||
|
|
||||||
local_sender = Ticket::Article::Sender.lookup(id: local_article.sender_id)
|
local_sender = Ticket::Article::Sender.lookup(id: local_article.sender_id)
|
||||||
return false if !local_sender
|
return false if !local_sender
|
||||||
|
next if local_sender.name == 'System'
|
||||||
|
|
||||||
last_sender_customer = if local_sender.name == 'Customer'
|
last_sender_customer = if local_sender.name == 'Customer'
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue