Skip to content

app.message listener does not handle events when a file is attached #644

Description

@seratch

When a message has attached files, the corresponding message event has file_share subtype. In this scenario, bolt-python's app.message listener does not handle the event even when the text matches.

Reproducible in:

any versions of bolt-python, any runtime

Steps to reproduce:

(Share the commands to run, source code, and project settings (e.g., setup.py))

  1. Have app.message listener with keyword in your bolt-python app
  2. Post a message that matches the keyword with any files

Expected result:

The event should be handled by the app.message listener

Actual result:

The event listener does not handle the event while it does if a message does not have files

Activity

  1. added this to the 1.13.2 milestone on May 11, 2022
  2. self-assigned this
    on May 11, 2022
  3. added a commit that references this issue on May 11, 2022
    97e5b15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions