diff --git a/src/main/main.ts b/src/main/main.ts
index 72cfde0..2056d53 100644
--- a/src/main/main.ts
+++ b/src/main/main.ts
@@ -341,7 +341,7 @@ function onLoad() {
       }
     })
 
-    /*registerReceiveHook<FriendRequestNotify>(ReceiveCmdS.FRIEND_REQUEST, async (payload) => {
+    registerReceiveHook<FriendRequestNotify>(ReceiveCmdS.FRIEND_REQUEST, async (payload) => {
       for (const req of payload.data.buddyReqs) {
         if (!!req.isInitiator || (req.isDecide && req.reqType !== BuddyReqType.KMEINITIATORWAITPEERCONFIRM)) {
           continue
@@ -349,7 +349,7 @@ function onLoad() {
         let userId = 0
         try {
           const requesterUin = await NTQQUserApi.getUinByUid(req.friendUid)
-          userId = parseInt(requesterUin!)
+          userId = parseInt(requesterUin)
         } catch (e) {
           log('获取加好友者QQ号失败', e)
         }
@@ -362,7 +362,7 @@ function onLoad() {
         )
         postOb11Event(friendRequestEvent)
       }
-    })*/
+    })
   }
 
   let startTime = 0 // 毫秒
diff --git a/src/ntqqapi/api/group.ts b/src/ntqqapi/api/group.ts
index 1a90261..0d8fec8 100644
--- a/src/ntqqapi/api/group.ts
+++ b/src/ntqqapi/api/group.ts
@@ -98,12 +98,12 @@ export class NTQQGroupApi {
         )
       return notifies
     } else {
-      return await invoke<GroupNotifies>({
+      return (await invoke<GroupNotifies>({
         methodName: NTMethod.GET_GROUP_NOTICE,
         cbCmd: ReceiveCmdS.GROUP_NOTIFY,
         afterFirstCmd: false,
         args: [{ doubt: false, startSeq: '', number: num }, null],
-      })
+      })).notifies
     }
   }
 
diff --git a/src/ntqqapi/api/msg.ts b/src/ntqqapi/api/msg.ts
index 126a440..04f9699 100644
--- a/src/ntqqapi/api/msg.ts
+++ b/src/ntqqapi/api/msg.ts
@@ -11,7 +11,7 @@ function generateMsgId() {
   const buffer = Buffer.alloc(8)
   buffer.writeUInt32BE(timestamp, 0)
   buffer.writeUInt32BE(random, 4)
-  const msgId = BigInt("0x" + buffer.toString('hex')).toString()
+  const msgId = BigInt('0x' + buffer.toString('hex')).toString()
   return msgId
 }