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

- #12

Merged
merged 2 commits into from
Sep 1, 2020
Merged

- #12

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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