Skip to content
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

[BUG] webhook of "Callback Before Message Push in Online Status" is not able for group msg #206

Open
aningco opened this issue Dec 2, 2024 · 3 comments

Comments

@aningco
Copy link

aningco commented Dec 2, 2024

OpenIM Server Version

v3.8.2-alpha.2

Operating System and CPU Architecture

Linux (ARM)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

After enable the webhook of "Callback Before Message Push in Online Status", our bussiness system can receive the callback for single chat for those user in online status before messages are sent to the client, while group chat is not work.

Screenshots Link

please note that related webhook,yml as below
image

@OpenIM-Robot
Copy link

Hello! Thank you for filing an issue.

If this is a bug report, please include relevant logs to help us debug the problem.

Join slack 🤖 to connect and communicate with our developers.

@icey-yu
Copy link
Member

icey-yu commented Dec 10, 2024

Group msg will call beforeGroupOnlinePush instead. They have different request bodies.

@c2pc
Copy link

c2pc commented Dec 17, 2024

  • Copy all configs from dir to config directory in this package
  • Add volume
    volumes: - "${DATA_DIR}/config:/openim-server/config" to openim-server image in docker-compose.yaml
  • Change webhooks
  • Run docker-compose down
  • Run docker-compose up -d

It worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants