Pasting Slack message links tries to attach the thread and invites users to configure Slack, even when they do not want the optional integration.
Add Enable Slack integration under Settings → Integrations → Slack. Turning it off keeps pasted and typed Slack URLs as links without requesting Slack or showing setup prompts. It hides Slack attachment actions in the web/desktop attach menu, command palette, and # search, and in mobile composers. The preference is saved per environment and broadcast to its clients. Existing credentials and attachments are kept, so it can be enabled again without reconnecting.
Validation: focused settings, composer-link, settings-search, and integrations tests pass; the server test verifies persistence and broadcasting for disabling and re-enabling. Web, mobile, contracts, and server typechecks pass. Targeted lint passes, with existing warnings in surrounding files.
Browser verification was authorized and attempted through the built-in Browser panel against an isolated database snapshot. The preview opened, then lost its desktop automation host before the app finished loading. The preview tool reported PreviewAutomationNoAvailableHostError; no screenshots were captured. Keeping this PR in draft until the desktop browser host is available and the required before/after evidence can be captured.
Implemented with GPT-6.1-Sol through the Codex harness.