-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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-leave event cannot get leaver member #1329
Comments
Wechaty version: 2725f1aExpect: get leaver nameActual: cannot get leaver nameOther info:NickName: 李佳芮 Log18:42:10 VERB PuppetPadchat onPadchatMessage({id=4649714124124331581, type=Sys(5)})
rawPayload: { content: '你将"wechaty-alias"移出了群聊',
continue: 1,
description: '',
from_user: '6350854677@chatroom',
msg_id: '4649714124124331581',
msg_source: '',
msg_type: 5,
status: 1,
sub_type: 10000,
timestamp: 1528972931,
to_user: 'wxid_zj2cahpwzgie12',
uin: 324216852 }
18:42:10 VERB PuppetPadchat onPadchatMessageFriendshipEvent({id=4649714124124331581})
18:42:10 VERB PuppetPadchat onPadchatMessageRoomEventJoin({id=4649714124124331581})
18:42:10 VERB PuppetPadchat onPadchatMessageRoomEventLeave({id=4649714124124331581})
18:42:10 VERB Puppet roomMemberSearch(6350854677@chatroom, "wechaty-alias")
18:42:10 VERB Puppet roomMemberSearch(6350854677@chatroom, {"roomAlias":"wechaty-alias"})
18:42:10 VERB PuppetPadchat roomMemberList(6350854677@chatroom)
18:42:10 VERB PuppetPadchatManager getRoomMemberIdList(6350854677)
18:42:10 SILL PuppetPadchatManager syncRoomMember(6350854677@chatroom)
18:42:10 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["6350854677@chatroom"])
18:42:10 VERB PuppetPadchat onPadchatMessageRoomEventTopic({id=4649714124124331581})
18:42:11 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000185,"count":2,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/O5NAVwmeMl5n3rWks7QWefY3okwt2QAxPO1eiaBHvEztNPv3t9VBnkNS02cwgZxfx9VqaNRGBxvZMcVnGver1gy7LteMcDGZwn7rNLNqa7no/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"qq512436430\",\"nick_name\":\"苏轼\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/O5NAVwmeMl5n3rWks7QWefY3okwt2QAxPO1eiaBHvEztNPv3t9VBnkNS02cwgZxfx9VqaNRGBxvZMcVnGver1gy7LteMcDGZwn7rNLNqa7no/132\",\"user_name\":\"wxid_zj2cahpwzgie12\"},{\"big_hea
18:42:11 SILL PuppetPadchatManager syncRoomMember(6350854677@chatroom) total 6 members
18:42:11 VERB PuppetPadchatManager getRoomMemberIdList(6350854677) length=2
18:42:11 SILL PuppetPadchat roomMemberList()=2
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=lizhuohuan noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberSearch(6350854677@chatroom, {"name":"wechaty-alias"})
18:42:11 VERB PuppetPadchat roomMemberList(6350854677@chatroom)
18:42:11 VERB PuppetPadchatManager getRoomMemberIdList(6350854677)
18:42:11 VERB PuppetPadchatManager getRoomMemberIdList(6350854677) length=2
18:42:11 SILL PuppetPadchat roomMemberList()=2
18:42:11 VERB Puppet contactSearch(query={"name":"wechaty-alias"}, idList.length = 2)
18:42:11 VERB Puppet contactQueryFilterFactory({"name":"wechaty-alias"})
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=lizhuohuan noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberSearch(6350854677@chatroom, {"contactAlias":"wechaty-alias"})
18:42:11 VERB PuppetPadchat roomMemberList(6350854677@chatroom)
18:42:11 VERB PuppetPadchatManager getRoomMemberIdList(6350854677)
18:42:11 VERB PuppetPadchatManager getRoomMemberIdList(6350854677) length=2
18:42:11 SILL PuppetPadchat roomMemberList()=2
18:42:11 VERB Puppet contactSearch(query={"alias":"wechaty-alias"}, idList.length = 2)
18:42:11 VERB Puppet contactQueryFilterFactory({"alias":"wechaty-alias"})
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=wxid_zj2cahpwzgie12 noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberPayload(roomId=6350854677@chatroom, contactId=lizhuohuan noCache=false)
18:42:11 SILL Puppet roomMemberPayloadCache(id=6350854677@chatroom) @ PuppetPadchat<default>
18:42:11 VERB Puppet roomMemberSearch(6350854677@chatroom, undefined)
18:42:11 VERB PuppetPadchatManager purgeRoomMemberIdList(6350854677)
18:42:11 VERB Room ready()
18:42:11 SILL Contact ready() @ PuppetPadchat<default>
18:42:11 SILL Contact ready() isReady() true
18:42:11 VERB Room topic()
18:42:11 SILL Contact alias()
18:42:11 INFO Bot Room EVENT: leave - leave(remover Contact<苏轼>), byebye
18:42:11 INFO Bot EVENT: room-leave - Room ding - warn 李佳芮 lost member
18:42:11 VERB Room topic()
18:42:11 VERB Room say(kick off no contact! from ding - warn 李佳芮!, )
18:42:11 VERB PuppetPadchat messageSend({"roomId":"6350854677@chatroom"}, kick off no contact! from ding - warn 李佳芮!)
18:42:11 SILL PadchatRpc rpcCall(WXSendMsg, ["6350854677@chatroom","kick off no contact! from ding - warn 李佳芮!",""])
18:42:11 VERB PuppetPadchat onPadchatMessage({id=4649714124124331581, type=Sys(5)})
18:42:11 WARN PuppetPadchat onPadchatMessage({id=undefined, type=undefined(undefined)}) duplicate message
18:42:12 SILL PadchatRpc onSocketTencent() discard empty message msg_id payoad: {"continue":0,"msg_type":32768,"status":1,"uin":324216852}
18:42:17 SILL PuppetPadchatManager syncRoomMember(2885922740@chatroom)
18:42:17 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["2885922740@chatroom"])
18:42:17 VERB PuppetPadchatManager startQueues() delayQueueExecutor.subscribe(syncRoomMember(2885922740@chatroom)) executed
18:42:17 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(ws.on(message))
18:42:17 SILL PuppetPadchat startWatchdog() bridge.on(heartbeat)
18:42:17 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=ws.on(message)})
18:42:17 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000011,"count":4,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/O5NAVwmeMl5n3rWks7QWefY3okwt2QAxPO1eiaBHvEztNPv3t9VBnkNS02cwgZxfx9VqaNRGBxvZMcVnGver1gy7LteMcDGZwn7rNLNqa7no/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"\",\"nick_name\":\"苏轼\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/O5NAVwmeMl5n3rWks7QWefY3okwt2QAxPO1eiaBHvEztNPv3t9VBnkNS02cwgZxfx9VqaNRGBxvZMcVnGver1gy7LteMcDGZwn7rNLNqa7no/132\",\"user_name\":\"wxid_zj2cahpwzgie12\"},{\"big_head\":\"http:
18:42:17 SILL PuppetPadchatManager syncRoomMember(2885922740@chatroom) total 6 members |
I believe it was fixed, too. |
Actually, it didn't fix totally... If the bot remove someone by hand, the bug fix. While, when bot remove someone automatically(when one send |
Wechaty version:0.15.179 There is two kinds of action to remove one out of the room:
Separate log as follows: 1. bug didn't fixedReprocude: bot remove one out of the room by wechaty (when one says Brief log:
Full log: 12:53:02 VERB PuppetPadchat onPadchatMessage({id=4956238329105394563, type=Text(5)})
rawPayload: { content: 'qq512436430:\nding',
continue: 1,
description: 'wechaty-alias : ding',
from_user: '12707026825@chatroom',
msg_id: '4956238329105394563',
msg_source:
'<msgsource>\n\t<silence>0</silence>\n\t<membercount>3</membercount>\n</msgsource>\n',
msg_type: 5,
status: 1,
sub_type: 1,
timestamp: 1529038381,
to_user: 'wxid_zj2cahpwzgie12',
uin: 324216852 }
12:53:02 VERB Message static create(4956238329105394563)
12:53:02 SILL Accessory #21<Message> constructor()
12:53:02 VERB Message constructor(4956238329105394563) for class Message
12:53:02 VERB Message ready()
...
12:53:02 VERB Room say(You said "ding" in my room, I will remove you out., )
12:53:02 VERB PuppetPadchat messageSend({"roomId":"12707026825@chatroom"}, You said "ding" in my room, I will remove you out.)
12:53:02 SILL PadchatRpc rpcCall(WXSendMsg, ["12707026825@chatroom","You said \"ding\" in my room, I will remove you out.",""])
12:53:02 SILL Contact alias()
12:53:02 VERB Room del(Contact<wechaty-alias>)
12:53:02 VERB PuppetPadchat roomDel(12707026825@chatroom, qq512436430)
12:53:02 SILL PadchatRpc rpcCall(WXDeleteChatRoomMember, ["12707026825@chatroom","qq512436430"])
12:53:02 SILL PadchatRpc WXDeleteChatRoomMember result: {"message":"","status":0}
12:53:02 SILL PuppetPadchat roomMemberRawPayloadDirty(12707026825@chatroom)
12:53:02 VERB PuppetPadchatManager roomMemberRawPayloadDirty(12707026825)
12:53:02 VERB Puppet roomMemberPayloadDirty(12707026825@chatroom)
12:53:02 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:53:02 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:53:02 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom)
12:53:02 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["12707026825@chatroom"])
12:53:03 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000008,"count":2,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"wxid_zj2cahpwzgie12\",\"nick_name\":\"李卓桓\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/132\",\"user_name\":\"lizhuohuan\"},{\"big_head\":\"http://wx.qlogo.cn
12:53:03 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom) total 6 members
12:53:03 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:53:03 SILL PuppetPadchat roomMemberList()=2
12:53:03 SILL Puppet constructor() lruOptions.dispose(lizhuohuan@@@12707026825@chatroom, {"id":"lizhuohuan","inviterId":"wxid_zj2cahpwzgie12","roomAlias":""})
12:53:03 SILL Puppet constructor() lruOptions.dispose(wxid_zj2cahpwzgie12@@@12707026825@chatroom, {"id":"wxid_zj2cahpwzgie12","inviterId":"","roomAlias":""})
12:53:03 VERB PuppetPadchat onPadchatMessage({id=5899900134811406122, type=Sys(5)})
rawPayload: { content: '你将"wechaty-alias"移出了群聊',
continue: 1,
description: '',
from_user: '12707026825@chatroom',
msg_id: '5899900134811406122',
msg_source: '',
msg_type: 5,
status: 1,
sub_type: 10000,
timestamp: 1529038382,
to_user: 'wxid_zj2cahpwzgie12',
uin: 324216852 }
12:53:03 VERB PuppetPadchat onPadchatMessageFriendshipEvent({id=5899900134811406122})
12:53:03 VERB PuppetPadchat onPadchatMessageRoomEventJoin({id=5899900134811406122})
12:53:03 VERB PuppetPadchat onPadchatMessageRoomEventLeave({id=5899900134811406122})
12:53:03 SILL PuppetPadchat onPadchatMessageRoomEventLeave() roomLeaveEvent="{"leaverNameList":["wechaty-alias"],"roomId":"12707026825@chatroom"}"
12:53:03 VERB Puppet roomMemberSearch(12707026825@chatroom, "wechaty-alias")
12:53:03 VERB Puppet roomMemberSearch(12707026825@chatroom, {"roomAlias":"wechaty-alias"})
12:53:03 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
...
12:53:03 VERB Puppet contactSearch(query={"name":"wechaty-alias"}, idList.length = 2)
12:53:03 VERB Puppet contactQueryFilterFactory({"name":"wechaty-alias"})
12:53:03 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=lizhuohuan dirty=false)
12:53:03 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:53:03 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=wxid_zj2cahpwzgie12 dirty=false)
12:53:03 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:53:03 VERB Puppet roomMemberSearch(12707026825@chatroom, {"contactAlias":"wechaty-alias"})
12:53:03 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:53:03 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:53:03 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:53:03 SILL PuppetPadchat roomMemberList()=2
12:53:03 VERB Puppet contactSearch(query={"alias":"wechaty-alias"}, idList.length = 2)
12:53:03 VERB Puppet contactQueryFilterFactory({"alias":"wechaty-alias"})
12:53:03 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=lizhuohuan dirty=false)
12:53:03 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:53:03 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=wxid_zj2cahpwzgie12 dirty=false)
12:53:03 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:53:03 VERB Puppet roomMemberSearch(12707026825@chatroom, undefined)
12:53:03 SILL PuppetPadchat roomMemberRawPayloadDirty(12707026825@chatroom)
12:53:03 VERB PuppetPadchatManager roomMemberRawPayloadDirty(12707026825)
12:53:03 VERB Puppet roomMemberPayloadDirty(12707026825@chatroom)
12:53:03 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:53:03 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:53:03 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom)
12:53:03 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["12707026825@chatroom"])
12:53:03 VERB PuppetPadchat roomPayloadDirty(12707026825@chatroom)
12:53:03 VERB PuppetPadchatManager roomRawPayloadDirty(12707026825)
12:53:03 VERB Puppet roomPayloadDirty(12707026825@chatroom)
12:53:03 SILL Puppet constructor() lruOptions.dispose(12707026825@chatroom, {"id":"12707026825@chatroom","topic":"ding - created","ownerId":"wxid_zj2cahpwzgie12"})
12:53:03 VERB Room ready()
12:53:03 SILL Puppet roomPayloadCache(12707026825@chatroom) cache MISS
12:53:03 VERB Puppet roomPayload(id=12707026825@chatroom, dirty=false)
12:53:03 SILL Puppet roomPayloadCache(12707026825@chatroom) cache MISS
12:53:03 VERB PuppetPadchat roomRawPayload(12707026825@chatroom)
12:53:03 VERB PuppetPadchatManager roomRawPayload(12707026825@chatroom)
12:53:03 SILL PuppetPadchatManager roomRawPayload(12707026825@chatroom) retry() attempt=1
12:53:03 SILL PadchatRpc rpcCall(WXGetContact, ["12707026825@chatroom"])
12:53:03 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000008,"count":2,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"wxid_zj2cahpwzgie12\",\"nick_name\":\"李卓桓\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/132\",\"user_name\":\"lizhuohuan\"},{\"big_head\":\"http://wx.qlogo.cn
12:53:03 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom) total 6 members
12:53:03 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:53:03 SILL PuppetPadchat roomMemberList()=2
12:53:03 SILL Puppet constructor() lruOptions.dispose(lizhuohuan@@@12707026825@chatroom, {"id":"lizhuohuan","inviterId":"wxid_zj2cahpwzgie12","roomAlias":""})
12:53:03 SILL Puppet constructor() lruOptions.dispose(wxid_zj2cahpwzgie12@@@12707026825@chatroom, {"id":"wxid_zj2cahpwzgie12","inviterId":"","roomAlias":""})
12:53:04 SILL PadchatRpc WXGetContact(12707026825@chatroom) result: {"big_head":"","chatroom_id":700000008,"chatroom_owner":"wxid_zj2cahpwzgie12","city":"","country":"","intro":"","label":"","max_member_count":500,"member":"[\"lizhuohuan\",\"wxid_zj2cahpwzgie12\"]\n","member_count":2,"message":"","nick_name":"ding - created","provincia":"","py_initial":"DINGCREATED","quan_pin":"dingcreated","remark":"","remark_py_initial":"","remark_quan_pin":"","sex":0,"signature":"","small_head":"http://wx.qlogo.cn/mmcrhead/RiaZslwCczrCdPPYp7YQ7Lljc7AvrVAvxibB1HNrAqPX0icpjFv3U7nkdpLm6ich4aicFLfm0OtvEAJf0r4NpPQ3FxKMc5kN9npnD/0","status":0,"stranger":"v1_1ac3d2d697c975cd93efa89729b50fa4dea7bd3ed345524ff74613ceebb7f399080be71a86f9c676c575df0175bd5f78@stranger","ticket":"","user_name":"12707026825@chatroom"}
12:53:04 VERB PuppetPadchat roomRawPayloadParser(rawPayload.user_name="12707026825@chatroom")
12:53:04 SILL Puppet roomPayload(12707026825@chatroom) cache SET
12:53:04 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:53:04 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:53:04 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:53:04 SILL PuppetPadchat roomMemberList()=2
12:53:04 SILL Contact ready() @ PuppetPadchat<default>
12:53:04 SILL Contact ready() isReady() true
12:53:04 SILL Contact ready() @ PuppetPadchat<default>
12:53:04 SILL Contact ready() isReady() true
12:53:04 SILL Contact ready() @ PuppetPadchat<default>
12:53:04 SILL Contact ready() isReady() true
12:53:04 VERB Room topic()
12:53:04 INFO Bot EVENT: room-leave - Room ding - created lost member
12:53:04 VERB Room topic()
12:53:04 VERB Room say(kick off no contact! from ding - created!, )
12:53:04 VERB PuppetPadchat messageSend({"roomId":"12707026825@chatroom"}, kick off no contact! from ding - created!)
12:53:04 SILL PadchatRpc rpcCall(WXSendMsg, ["12707026825@chatroom","kick off no contact! from ding - created!",""]) 2. bug fixedReproduce: bot remove one out of the room by hand. Brief log:
Full log: 12:58:01 VERB PuppetPadchat onPadchatMessage({id=231534257390083620, type=Sys(5)})
rawPayload: { content: '你将"wechaty-alias"移出了群聊',
continue: 1,
description: '',
from_user: '12707026825@chatroom',
msg_id: '231534257390083620',
msg_source: '',
msg_type: 5,
status: 1,
sub_type: 10000,
timestamp: 1529038680,
to_user: 'wxid_zj2cahpwzgie12',
uin: 324216852 }
12:58:01 VERB PuppetPadchat onPadchatMessageFriendshipEvent({id=231534257390083620})
12:58:01 VERB PuppetPadchat onPadchatMessageRoomEventJoin({id=231534257390083620})
12:58:01 VERB PuppetPadchat onPadchatMessageRoomEventLeave({id=231534257390083620})
12:58:01 SILL PuppetPadchat onPadchatMessageRoomEventLeave() roomLeaveEvent="{"leaverNameList":["wechaty-alias"],"roomId":"12707026825@chatroom"}"
12:58:01 VERB Puppet roomMemberSearch(12707026825@chatroom, "wechaty-alias")
12:58:01 VERB Puppet roomMemberSearch(12707026825@chatroom, {"roomAlias":"wechaty-alias"})
12:58:01 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=3
12:58:01 VERB PuppetPadchat onPadchatMessageRoomEventTopic({id=231534257390083620})
12:58:01 SILL PuppetPadchat roomMemberList()=3
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=lizhuohuan dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=wxid_zj2cahpwzgie12 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=qq512436430 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberSearch(12707026825@chatroom, {"name":"wechaty-alias"})
12:58:01 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=3
12:58:01 SILL PuppetPadchat roomMemberList()=3
12:58:01 VERB Puppet contactSearch(query={"name":"wechaty-alias"}, idList.length = 3)
12:58:01 VERB Puppet contactQueryFilterFactory({"name":"wechaty-alias"})
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=lizhuohuan dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=wxid_zj2cahpwzgie12 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=qq512436430 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberSearch(12707026825@chatroom, {"contactAlias":"wechaty-alias"})
12:58:01 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=3
12:58:01 SILL PuppetPadchat roomMemberList()=3
12:58:01 VERB Puppet contactSearch(query={"alias":"wechaty-alias"}, idList.length = 3)
12:58:01 VERB Puppet contactQueryFilterFactory({"alias":"wechaty-alias"})
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=lizhuohuan dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=wxid_zj2cahpwzgie12 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberPayload(roomId=12707026825@chatroom, contactId=qq512436430 dirty=false)
12:58:01 SILL Puppet roomMemberPayloadCache(id=12707026825@chatroom) @ PuppetPadchat<default>
12:58:01 VERB Puppet roomMemberSearch(12707026825@chatroom, undefined)
12:58:01 SILL PuppetPadchat roomMemberRawPayloadDirty(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager roomMemberRawPayloadDirty(12707026825)
12:58:01 VERB Puppet roomMemberPayloadDirty(12707026825@chatroom)
12:58:01 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:58:01 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom)
12:58:01 SILL PadchatRpc rpcCall(WXGetChatRoomMember, ["12707026825@chatroom"])
12:58:01 VERB PuppetPadchat roomPayloadDirty(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager roomRawPayloadDirty(12707026825)
12:58:01 VERB Puppet roomPayloadDirty(12707026825@chatroom)
12:58:01 SILL Puppet constructor() lruOptions.dispose(12707026825@chatroom, {"id":"12707026825@chatroom","topic":"ding - created","ownerId":"wxid_zj2cahpwzgie12"})
12:58:01 VERB Room ready()
12:58:01 SILL Puppet roomPayloadCache(12707026825@chatroom) cache MISS
12:58:01 VERB Puppet roomPayload(id=12707026825@chatroom, dirty=false)
12:58:01 SILL Puppet roomPayloadCache(12707026825@chatroom) cache MISS
12:58:01 VERB PuppetPadchat roomRawPayload(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager roomRawPayload(12707026825@chatroom)
12:58:01 SILL PuppetPadchatManager roomRawPayload(12707026825@chatroom) retry() attempt=1
12:58:01 SILL PadchatRpc rpcCall(WXGetContact, ["12707026825@chatroom"])
12:58:01 SILL PadchatRpc initHeartbeat() throttleQueue.subscribe(ws.on(message))
12:58:01 SILL PuppetPadchat startWatchdog() bridge.on(heartbeat)
12:58:01 SILL PuppetPadchat startWatchdog() watchdog.on(feed, food={type=undefined, data=ws.on(message)})
12:58:01 SILL PadchatRpc WXGetChatRoomMember() result: {"chatroom_id":700000010,"count":2,"member":"[{\"big_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/0\",\"chatroom_nick_name\":\"\",\"invited_by\":\"wxid_zj2cahpwzgie12\",\"nick_name\":\"李卓桓\",\"small_head\":\"http://wx.qlogo.cn/mmhead/ver_1/VjqnqeuPye38V5RmXxh37DbibicjtTIdgrX1OQPbs1MhQ4UyQlicVTPAcibkJKJIia6cqetYPlicshtC9uJA2iabiasicicA/132\",\"user_name\":\"lizhuohuan\"},{\"big_head\":\"http://wx.qlogo.cn
12:58:01 SILL PuppetPadchatManager syncRoomMember(12707026825@chatroom) total 6 members
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:58:01 SILL PuppetPadchat roomMemberList()=2
12:58:01 SILL Puppet constructor() lruOptions.dispose(lizhuohuan@@@12707026825@chatroom, {"id":"lizhuohuan","inviterId":"wxid_zj2cahpwzgie12","roomAlias":""})
12:58:01 SILL Puppet constructor() lruOptions.dispose(wxid_zj2cahpwzgie12@@@12707026825@chatroom, {"id":"wxid_zj2cahpwzgie12","inviterId":"","roomAlias":""})
12:58:01 SILL PadchatRpc WXGetContact(12707026825@chatroom) result: {"big_head":"","chatroom_id":700000010,"chatroom_owner":"wxid_zj2cahpwzgie12","city":"","country":"","intro":"","label":"","max_member_count":500,"member":"[\"lizhuohuan\",\"wxid_zj2cahpwzgie12\"]\n","member_count":2,"message":"","nick_name":"ding - created","provincia":"","py_initial":"DINGCREATED","quan_pin":"dingcreated","remark":"","remark_py_initial":"","remark_quan_pin":"","sex":0,"signature":"","small_head":"http://wx.qlogo.cn/mmcrhead/xLibfMcGPKF8ycGZPKC4VZ0m3yyH2SVic9niaoV6gD7NliaWs4xvF17jphx40Wb94aze4rG3ibhA6b7bIpV7Sr0D21gfn9icCPzkEf/0","status":0,"stranger":"v1_1ac3d2d697c975cd93efa89729b50fa4dea7bd3ed345524ff74613ceebb7f399080be71a86f9c676c575df0175bd5f78@stranger","ticket":"","user_name":"12707026825@chatroom"}
12:58:01 VERB PuppetPadchat roomRawPayloadParser(rawPayload.user_name="12707026825@chatroom")
12:58:01 SILL Puppet roomPayload(12707026825@chatroom) cache SET
12:58:01 VERB PuppetPadchat roomMemberList(12707026825@chatroom)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825)
12:58:01 VERB PuppetPadchatManager getRoomMemberIdList(12707026825) length=2
12:58:01 SILL PuppetPadchat roomMemberList()=2
12:58:01 SILL Contact ready() @ PuppetPadchat<default>
12:58:01 SILL Contact ready() isReady() true
12:58:01 SILL Contact ready() @ PuppetPadchat<default>
12:58:01 SILL Contact ready() isReady() true
12:58:01 SILL Contact ready() @ PuppetPadchat<default>
12:58:01 SILL Contact ready() isReady() true
12:58:01 SILL Contact ready() @ PuppetPadchat<default>
12:58:01 SILL Contact ready() isReady() true
12:58:01 VERB Room topic()
12:58:01 INFO Bot EVENT: room-leave - Room ding - created lost member 李佳芮
12:58:01 VERB Room topic()
12:58:01 VERB Room say(kick off 李佳芮 from ding - created!, )
12:58:01 VERB PuppetPadchat messageSend({"roomId":"12707026825@chatroom"}, kick off 李佳芮 from ding - created!)
12:58:01 SILL PadchatRpc rpcCall(WXSendMsg, ["12707026825@chatroom","kick off 李佳芮 from ding - created!",""])
|
thanks! fixed! |
WeChaty version:
0.15.154
Bug:
When emitting room-leave, cannot get leaver member contact.
Expect:
21:25:10 INFO Bot EVENT: room-leave - Room test-wechaty lost member 李佳芮
bot says
kick off no contact! from test-wechaty!
in the roomActual:
21:25:10 INFO Bot EVENT: room-leave - Room test-wechaty lost member
bot says
kick off 李佳芮 from test-wechaty!
Code:
Log:
The text was updated successfully, but these errors were encountered: