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