java-wechaty
java-wechaty copied to clipboard
群内@人文本消息无效
debug 跟进发现这个方法的mentionList参数没有用到
override fun messageSendText(conversationId: String, text: String, mentionList: List<String>?): Future<String?> {
val request = Message.MessageSendTextRequest.newBuilder()
.setConversationId(conversationId)
.setText(text)
//遗漏了这行
.addAllMentonalIds(mentionList)
.build()
return CompletableFuture.supplyAsync {
val response = grpcClient!!.messageSendText(request)
val stringValue = response.id
stringValue.value
}
}
可否提一个 pr 修复这个 bug
@isMeTang 目前在基于web协议的情况下,添加了这行代码依然@人无效,不会有提示你被@了
@EvilBT 看了一下应该是 @isMeTang 没有签署 cla 所以代码没有 merge
@diaozxin007 我直接在我本地添加了他修改的那行代码,运行的时候照样没有@人效果,不过群里说了,好像web协议本身就不支持@人