Question around using slack-machine via a channel #926
Unanswered
hoppingmonkey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
Superb product!
I have a quick question (apologies if I'm being dumb).
It's about the expected behaviour in the following configuration.
We have a private slack app installed into slack workspace 1 which uses slack-machine on the backend. Works great with a few custom plugins!
Then, in another (totally separate) slack workspace (workspace 2), there is a channel where a user from workspace 1 has been added using Slack-connect. The workspace 1 private slack app has also been added to the channel on workspace 2.
So in the workspace 2 channel there are these users:
In the workspace 2 channel, all users in the channel can post and the slack-machine backend can see these messages regardless of who posts.
When the user from workspace 1 interacts with the bot in the workspace 2 channel, it works fine. The bot can also post responses to the channel, which is visible to all in the channel.
However, when the user from workspace 2 interacts with the bot in the workspace 2 channel, slack-machine throws an error trying to reply.
I think this is by design as it seems it can't find the user in the user is the client.users channel... but can someone confirm that?
Here are the logs:
This shows message shows a message from a user from workspace 2 posting in the workspace 2 channel
Beta Was this translation helpful? Give feedback.
All reactions