mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-15 12:50:33 +00:00
fix #186
This commit is contained in:
parent
74cf501c8f
commit
385dcbc75a
@ -594,7 +594,7 @@ export class NapCatOnebot11 {
|
|||||||
|
|
||||||
async postFriendRequest(reqs: FriendRequest[]) {
|
async postFriendRequest(reqs: FriendRequest[]) {
|
||||||
for (const req of reqs) {
|
for (const req of reqs) {
|
||||||
if (!!req.isInitiator && req.isDecide && req.reqType !== BuddyReqType.KMEINITIATORWAITPEERCONFIRM) {
|
if (!!req.isInitiator || (req.isDecide && req.reqType !== BuddyReqType.KMEINITIATORWAITPEERCONFIRM)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
const friendRequestEvent = new OB11FriendRequestEvent();
|
const friendRequestEvent = new OB11FriendRequestEvent();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user