Skip to content

Commit

Permalink
Merge branch 'master' into enhancement/new-form-component-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Mar 25, 2024
2 parents 3bddbe0 + 1742b52 commit 6f7a527
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/dispatch/plugins/dispatch_slack/case/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,9 +828,16 @@ def handle_case_participant_role_activity(

# if a participant is active mark the case as being in the triaged state
case = case_service.get(db_session=db_session, case_id=context["subject"].id)

if case.status == CaseStatus.new:
case.status = CaseStatus.triage
db_session.commit()
case_flows.case_status_transition_flow_dispatcher(
case=case,
current_status=CaseStatus.triage,
db_session=db_session,
previous_status=case.status,
organization_slug=context["subject"].organization_slug,
)

case_flows.update_conversation(case, db_session)


Expand Down

0 comments on commit 6f7a527

Please sign in to comment.