-
Notifications
You must be signed in to change notification settings - Fork 338
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
对已发送的消息进行编辑,如何同步其他端 #101
Comments
setMessageEditProvider里的callback是必须要执行的。 |
那这个callback里面是需要执行什么内容呢?我看文档描述这里是需要向服务端请求的,可以指导下是哪块逻辑吗 |
消息被修改了,你服务器肯定也要修改这个消息,要不然卸载app 重新登录消息又变回去了,修改成功后callback下就行 |
那是不是就表示我这里callback一下就可以了,表示我通知了即可? |
message/channel/sync |
进入到聊天页面同步消息才会执行 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现象
日志
当我先发送了一个普通消息,然后我需要点击消息对这个消息重新编辑,新增部分字段内容,我按照文档描述先调用了
[[WKSDK shared].chatManager editMessage:currentMsg newContent:editContent];
然后提示需要setMessageEditProvider
我后续进行了setEditProvider
[[[WKSDK shared] chatManager] setMessageEditProvider:^(WKMessageExtra * _Nonnull extra, WKMessageEditCallback _Nonnull callback) {
这个时候没有其他操作,
也没有出现文档中描述的进入MessageUpdate的代理,请教下我这边是漏了什么操作吗,还是说哪里有问题
代码:
The text was updated successfully, but these errors were encountered: