[Problem/Question]
When calling GroupChannel.updateUserMessage()
, the onMessageUpdated handler is not firing on the sender’s browser.
According to Update a message | Chat JavaScript SDK | Sendbird Docs, the sender is supposed to also have the callback run.
// If problem, please fill out the below. If question, please delete.
[SDK Version]
4.3.1
[Reproduction Steps]
// somewhere
updateUserMessage('[a message ID]', {
message: '',
data: 'deleted'
})
// GroupChannelHandler
onMessageUpdated: (channel, message) => {
console.log('message updated:', message); // this is not being called
}
[Frequency]
Always
[Current impact]
Need to trigger the desired logic manually in the place where updateUserMessage is called.