From c458d7525d585aba9f90078dcb1bd1536ae40058 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 22 Jan 2025 15:01:24 +0800 Subject: [PATCH] fix #3778 --- app/modules/slack/slack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/slack/slack.py b/app/modules/slack/slack.py index ffcef79b..d2a45d9a 100644 --- a/app/modules/slack/slack.py +++ b/app/modules/slack/slack.py @@ -340,7 +340,7 @@ class Slack: return "" conversation_id = "" try: - for result in self._client.conversations_list(): + for result in self._client.conversations_list(types="public_channel,private_channel"): if conversation_id: break for channel in result["channels"]: