Skip to content

[BUG] 当指定 ATTENTIONIDS 时无法触发 callbackAfterSendSingleMsgCommand 回调 #3321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cipchk opened this issue May 9, 2025 · 3 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@cipchk
Copy link

cipchk commented May 9, 2025

OpenIM Server Version

3.8.3

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

以下是 docker-compose.yaml.env 文件内容:

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

以下是 .env 文件:

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

如果注释掉 IMENV_WEBHOOKS_AFTERSENDSINGLEMSG_ATTENTIONIDS 行,回调接口一切正常。

并且 LOG_LEVEL=6 的情况下没有任何相关错误消息。

Screenshots Link

No response

@cipchk cipchk added the bug Categorizes issue or PR as related to a bug. label May 9, 2025
@skiffer-git
Copy link
Member

@cipchk
Copy link
Author

cipchk commented May 29, 2025

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

@OpenIM-Robot
Copy link

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


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants