Open jcai opened 4 years ago
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.
https://github.com/Chatie/grpc/blob/4c32075f391c29407a9ace0fb6c8765097277bb1/proto/wechaty/puppet/message.proto#L45
如果消息来自个人,roomid不要返回空字符串