fix: fix message receive for 22xxx

This commit is contained in:
Il Harper 2024-03-17 02:49:08 +08:00
parent c1086a704f
commit a55fb930ab
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC
2 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,7 @@ const dispatcher = async (
payload: unknown, payload: unknown,
) => { ) => {
switch (method) { switch (method) {
case 'nodeIKernelMsgListener/onRecvActiveMsg':
case 'nodeIKernelMsgListener/onRecvMsg': { case 'nodeIKernelMsgListener/onRecvMsg': {
const { msgList } = payload as OnRecvMsg const { msgList } = payload as OnRecvMsg

View File

@ -58,6 +58,7 @@ const dispatcher = async (
payload: unknown, payload: unknown,
) => { ) => {
switch (method) { switch (method) {
case 'nodeIKernelMsgListener/onRecvActiveMsg':
case 'nodeIKernelMsgListener/onRecvMsg': { case 'nodeIKernelMsgListener/onRecvMsg': {
const { msgList } = payload as OnRecvMsg const { msgList } = payload as OnRecvMsg