Skip to content
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

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

Open
jcai opened this issue Jun 3, 2020 · 1 comment
Open

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

jcai opened this issue Jun 3, 2020 · 1 comment

Comments

@jcai
Copy link
Contributor

jcai commented Jun 3, 2020

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

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

@huan
Copy link
Member

huan commented Jun 3, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants