diff --git a/package.json b/package.json index 1be90e52..a0dd33eb 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "semver": "^7.3.5", "stronger-typed-streams": "^0.2.0", "uuid": "^8.3.2", - "wechaty-grpc": "^1.0.0", + "wechaty-grpc": "^1.1.1", "wechaty-redux": "^1.10.2", "wechaty-token": "^1.0.6" }, diff --git a/src/client/puppet-service.ts b/src/client/puppet-service.ts index 0b0ad2ab..4c1dd047 100644 --- a/src/client/puppet-service.ts +++ b/src/client/puppet-service.ts @@ -1054,10 +1054,10 @@ class PuppetService extends PUPPET.Puppet { const payload: PUPPET.payloads.Message = { filename : response.getFilename(), id : response.getId(), - listenerId : response.getToId(), + listenerId : response.getListenerId(), mentionIdList : response.getMentionIdsList(), roomId : response.getRoomId(), - talkerId : response.getFromId(), + talkerId : response.getTalkerId(), text : response.getText(), timestamp, type : response.getType() as number,