File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/sentry/seer/entrypoints/slack Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -95,12 +95,12 @@ def process_mention_for_slack(
9595 )
9696 if not user :
9797 lifecycle .record_failure (failure_reason = ProcessMentionFailureReason .IDENTITY_NOT_LINKED )
98+ _send_link_identity_prompt (entrypoint = entrypoint )
9899 entrypoint .install .set_thread_status (
99100 channel_id = channel_id ,
100101 thread_ts = thread_ts ,
101102 status = "" ,
102103 )
103- _send_link_identity_prompt (entrypoint = entrypoint , thread_ts = thread_ts )
104104 return
105105
106106 prompt = extract_prompt (text , bot_user_id )
@@ -151,7 +151,6 @@ def _resolve_user(
151151def _send_link_identity_prompt (
152152 * ,
153153 entrypoint : SlackExplorerEntrypoint ,
154- thread_ts : str ,
155154) -> None :
156155 """Send an ephemeral message prompting the user to link their Slack identity to Sentry."""
157156 associate_url = build_linking_url (
@@ -165,7 +164,7 @@ def _send_link_identity_prompt(
165164 slack_user_id = entrypoint .slack_user_id ,
166165 channel_id = entrypoint .channel_id ,
167166 renderable = renderable ,
168- thread_ts = thread_ts ,
167+ thread_ts = "" ,
169168 )
170169
171170
You can’t perform that action at this time.
0 commit comments