Skip to content
This repository has been archived by the owner on Jul 1, 2019. It is now read-only.

自动回复中对私聊消息的判断不准确 #13

Open
maozhenyu123 opened this issue May 4, 2018 · 0 comments
Open

自动回复中对私聊消息的判断不准确 #13

maozhenyu123 opened this issue May 4, 2018 · 0 comments

Comments

@maozhenyu123
Copy link

autoReplyWithMsg 中用了groupcode/discussGroupUin是否有值的方法来判断是不是群聊/讨论组消息。存在BUG,因为如果是由群聊或讨论组发起的临时私聊消息,也会有groupcode/discussGroupUin值。

解决方法,通过session type来判断
101 群消息
11 群聊私人消息
1 好友消息
201 讨论组消息
猜想21是讨论组私聊消息,未核实,也有可能是11

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

No branches or pull requests

1 participant