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

[FEATURE REQUEST] I need a callback to handle business before processing the message.

Open phpmaple opened this issue 1 year ago • 3 comments
trafficstars

Why this feature?

I checked the code and found that when I sent a message to another user, the other user blocked me. After I sent the message, callbackBeforeSendSingleMsgCommand not be called

Suggested Solution

I want to do some business logic when I sent a message to another user, but the other user blocked me.

Additional Information

No response

phpmaple avatar Jul 26 '24 11:07 phpmaple

https://docs.openim.io/restapi/webhooks/msg/sendsinglemsgbefore

skiffer-git avatar Aug 06 '24 12:08 skiffer-git

Do you mean that if someone has blocked you, the callbackBeforeSendSingleMsgCommand will not work?

skiffer-git avatar Aug 06 '24 12:08 skiffer-git

yes

phpmaple avatar Aug 13 '24 13:08 phpmaple