[BUG] webhook of "Callback Before Message Push in Online Status" is not able for group msg
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
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.
Group msg will call beforeGroupOnlinePush instead. They have different request bodies.
- 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