Skip to content

Commit

Permalink
Merge pull request #94 from juzibot/feat/room-add-with-msgs
Browse files Browse the repository at this point in the history
feat: ✨ add quote ids when room add
  • Loading branch information
su-chang authored Jan 2, 2025
2 parents 261ae2f + 39a8615 commit ee2865f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juzi/wechaty",
"version": "1.0.107",
"version": "1.0.108",
"description": "Wechaty is a RPA SDK for Chatbot Makers.",
"type": "module",
"exports": {
Expand Down Expand Up @@ -109,7 +109,7 @@
},
"homepage": "https://github.com/wechaty/",
"dependencies": {
"@juzi/wechaty-puppet-service": "^1.0.103",
"@juzi/wechaty-puppet-service": "^1.0.105",
"clone-class": "^1.1.1",
"cmd-ts": "^0.10.0",
"cockatiel": "^2.0.2",
Expand All @@ -132,7 +132,7 @@
"@chatie/eslint-config": "^1.0.4",
"@chatie/semver": "^0.4.7",
"@chatie/tsconfig": "^4.6.3",
"@juzi/wechaty-puppet": "^1.0.98",
"@juzi/wechaty-puppet": "^1.0.100",
"@juzi/wechaty-puppet-mock": "^1.0.1",
"@swc/core": "1.3.44",
"@swc/helpers": "^0.3.6",
Expand Down
4 changes: 2 additions & 2 deletions src/user-modules/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,9 @@ class RoomMixin extends MixinBase implements SayableSayer {
* }
* }
*/
async add (contact: ContactInterface): Promise<void> {
async add (contact: ContactInterface, quoteIds?: string[]): Promise<void> {
log.verbose('Room', 'add(%s)', contact)
await this.wechaty.puppet.roomAdd(this.id, contact.id)
await this.wechaty.puppet.roomAdd(this.id, contact.id, false, quoteIds)
}

/**
Expand Down

0 comments on commit ee2865f

Please sign in to comment.