Skip to content

[BUG] When ATTENTIONIDS is specified, it fails to trigger the callbackAfterSendSingleMsgCommand callback. #3321

@cipchk

Description

@cipchk

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

Below are the contents of the docker-compose.yaml and .env files.

openim-server:
    environment:
      .......
      - IMENV_WEBHOOKS_AFTERSENDSINGLEMSG_ENABLE=${WEBHOOKS_AFTERSENDSINGLEMSG_ENABLE}
      - IMENV_WEBHOOKS_AFTERSENDSINGLEMSG_TIMEOUT=${WEBHOOKS_AFTERSENDSINGLEMSG_TIMEOUT}
      - IMENV_WEBHOOKS_AFTERSENDSINGLEMSG_ATTENTIONIDS=${WEBHOOKS_AFTERSENDSINGLEMSG_ATTENTIONIDS}

Below is the .env file:

WEBHOOKS_AFTERSENDSINGLEMSG_ATTENTIONIDS=["10000","10001","19997"]

If the IMENV_WEBHOOKS_AFTERSENDSINGLEMSG_ATTENTIONIDS line is commented out, the callback interface operates correctly without issues.

And at LOG_LEVEL=6, there are no related error messages.

Screenshots Link

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions