grpc icon indicating copy to clipboard operation
grpc copied to clipboard

当消息来自个人,roomid不要返回空字符

Open jcai opened this issue 5 years ago • 1 comments

https://github.com/Chatie/grpc/blob/4c32075f391c29407a9ace0fb6c8765097277bb1/proto/wechaty/puppet/message.proto#L45

如果消息来自个人,roomid不要返回空字符串

jcai avatar Jun 03 '20 04:06 jcai

Yes, if the message is not coming from the room, the room id will be meaningless.

Please read the TypeScript code to learn more about how to deal with this situation.

Basically, I believe we should use the from id instead of the room id for this case.

huan avatar Jun 03 '20 05:06 huan