open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

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

Open cipchk opened this issue 7 months ago • 4 comments

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

cipchk avatar May 09 '25 07:05 cipchk

https://github.com/openimsdk/openim-docker/issues/136

skiffer-git avatar May 29 '25 04:05 skiffer-git

@skiffer-git 我的写法并没有错呀。

cipchk avatar May 29 '25 04:05 cipchk

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@skiffer-git I'm not wrong with writing.

OpenIM-Robot avatar May 29 '25 04:05 OpenIM-Robot

This issue has been resolved. Please update to latest version.

mo3et avatar Jun 06 '25 08:06 mo3et