You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the conversation context middleware, which is included by default (and only turned off when the convoStore: false option is used for App initialization), events which have no channel context found result in the propagation ending. This can be seen by inspecting the middleware function itself, and noticing that in the else case, next() is never called.
This is a bug. The expected behavior is that events which have no conversation context should continue to be processed by the next middleware.
Notably, the middleware is working correctly for events which do have a conversation context, but no existing conversation data was found for that conversationId. In those cases, an updateConversation() function is added to the context, which would initialize the conversation data.
Requirements (place an x in each of the [ ])
I've read and understood the Contributing guidelines and have done my best effort to follow them.
Description
In the conversation context middleware, which is included by default (and only turned off when the
convoStore: false
option is used for App initialization), events which have no channel context found result in the propagation ending. This can be seen by inspecting the middleware function itself, and noticing that in theelse
case,next()
is never called.https://github.com/slackapi/bolt/blob/7596366d6e6fc763b6e855f6259d19056605e4cf/src/conversation-store.ts#L54-L76
This is a bug. The expected behavior is that events which have no conversation context should continue to be processed by the next middleware.
Notably, the middleware is working correctly for events which do have a conversation context, but no existing conversation data was found for that
conversationId
. In those cases, anupdateConversation()
function is added to the context, which would initialize the conversation data.Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 1.0.1
node version: all
OS version(s): all
Steps to reproduce:
App
with default optionsteam_join
.Expected result:
Listener should be triggered
Actual result:
Listener is not triggered
The text was updated successfully, but these errors were encountered: