Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from takayama-lily/dev
Browse files Browse the repository at this point in the history
-
  • Loading branch information
takayama-lily authored Sep 1, 2020
2 parents 9cb2c7d + 6182395 commit 44f52bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,10 +288,10 @@ class AndroidClient extends Client {
this.getFriendList(true), this.getGroupList(true)
]);
this.logger.info(`加载了${this.friend_list.size}个好友,${this.group_list.size}个群。`);
this.group_list.forEach((v, k)=>{
this.getGroupMemberList(k, true);
});
event.emit(this, "system.online");
for (let k of this.group_list.keys()) {
await this.getGroupMemberList(k, true);
}
});
}

Expand Down
4 changes: 2 additions & 2 deletions lib/outgoing.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ function buildFriendRequestRequestPacket(flag, approve = true, block = false, c)
subSrcId: 7,
actionInfo: {
type: approve?2:3,
blacklist: block
blacklist: block?true:false
},
});
return commonUNI(c, CMD.FRIEND_REQ_ACT, body);
Expand All @@ -673,7 +673,7 @@ function buildGroupRequestRequestPacket(flag, approve = true, reason = "", block
actionInfo: {
type: approve?11:12,
groupCode: group_id,
blacklist: block,
blacklist: block?true:false,
msg: reason,
sig: BUF0,
},
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oicq",
"version": "1.0.2",
"version": "1.0.3",
"description": "QQ protocol!",
"main": "client.js",
"scripts": {
Expand Down

0 comments on commit 44f52bf

Please sign in to comment.