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

room-join event, when run room.say, it actually run contact.say #1330

Closed
lijiarui opened this issue Jun 13, 2018 · 3 comments
Closed

room-join event, when run room.say, it actually run contact.say #1330

lijiarui opened this issue Jun 13, 2018 · 3 comments
Assignees
Labels

Comments

@lijiarui
Copy link
Member

Related with #1324

when running room.say(welcome to ${topic}!, inviteeList[0]) in room-join event, actually bot say the message with contact privately instead of in the room.

log as follows:

21:40:09 INFO Bot EVENT: room-join - Room test-wechaty got new member 李佳芮, invited by 苏轼
21:40:09 VERB Room topic()
21:40:09 VERB Room say(welcome to test-wechaty!, 李佳芮)
21:40:09 VERB PuppetPadchat messageSend({"roomId":"5616634434@chatroom","contactId":"qq512436430"}, @李佳芮 welcome to test-wechaty!)
21:40:09 SILL PadchatRpc rpcCall(WXSendMsg, ["qq512436430","@李佳芮 welcome to test-wechaty!",""])
21:40:09 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000025,"count":7,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/fA9Nics9jXHM3PER2fjfBGbX4GhKWhKGdb8MOtibcP3Tcu0FnDdiaI0ia6sdkic3mlZOHFI4m9WTcgFJp5zL8FUKZBxHrpAutvE1NPic9afdRHswQ/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"qq512436430\",\"nick_name\":\"小桔\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/fA9Nics9jXHM3PER2fjfBGbX4GhKWhKGdb8MOtibcP3Tcu0FnDdiaI0ia6sdkic3mlZOHFI4m9WTcgFJp5zL8FUKZBxHrpAutvE1NPic9afdRHswQ/132\",\"user_name\":\"wxid_zbym1zg75qbm22\"},
21:40:09 SILL PuppetPadchatManager syncRoomMember(5616634434@chatroom) total 6 members
21:40:09 VERB PuppetPadchatManager getRoomMemberIdList(5616634434) length=7
21:40:09 SILL PuppetPadchat roomMemberList()=7
21:40:09 VERB Puppet contactSearch(query={"name":"李佳芮"}, idList.length = 7)
21:40:09 VERB Puppet contactQueryFilterFactory({"name":"李佳芮"})
@huan
Copy link
Member

huan commented Jun 13, 2018

Please confirm whether the last commit fixed this.

@lijiarui
Copy link
Member Author

fix

@Goldbeener
Copy link

fix

I'v met the same case with the default puppet in [email protected]. Do i use the wrong version?

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

No branches or pull requests

3 participants