Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit b326abe

Browse files
authored
Re-adds added by and added reason to list participants modal (#2924)
1 parent a3548a6 commit b326abe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/dispatch/plugins/dispatch_slack/incident/interactive.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,12 @@ def handle_list_participants_command(
491491
f"*Team*\n {participant_team}, {participant_department}",
492492
f"*Location* \n{participant_location}",
493493
f"*Incident Role(s)* \n{(', ').join(participant_roles)}",
494+
f"*Added By* \n{participant.added_by.individual.name}"
495+
if participant.added_by
496+
else "*Added By* \nUnknown",
497+
f"*Added Reason* \n{participant.added_reason}"
498+
if participant.added_reason
499+
else "*Added Reason* \nUnknown",
494500
],
495501
accessory=accessory,
496502
),

0 commit comments

Comments
 (0)