Skip to content

Commit

Permalink
rename FromId -> TalkerId (wechaty/puppet#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Mar 13, 2022
1 parent ef72d99 commit c21b562
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions src/client/puppet-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c21b562

Please sign in to comment.