chore(imap-task): update backdate_conversations to set status as resolved
This commit is contained in:
parent
9a157a260a
commit
326c9719d8
@ -103,7 +103,8 @@ def backdate_conversations(inbox)
|
|||||||
conversation.update_columns( # rubocop:disable Rails/SkipsModelValidations
|
conversation.update_columns( # rubocop:disable Rails/SkipsModelValidations
|
||||||
created_at: oldest,
|
created_at: oldest,
|
||||||
last_activity_at: newest,
|
last_activity_at: newest,
|
||||||
agent_last_seen_at: newest
|
agent_last_seen_at: newest,
|
||||||
|
status: :resolved
|
||||||
)
|
)
|
||||||
count += 1
|
count += 1
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user