-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OnlinePush.SidTicketExpired logic #2563
Conversation
为什么? |
这个只是一个服务器告知进行刷新web token操作的包(触发客户端web token主动刷新) 客户端只需要回复服务器并在本地用拿到的新token更新即可 并不需要重新登录 而mirai已经完成了这一行为 所以直接去除先前错误加入的逻辑即可 |
哦忘记写回包逻辑了 稍等一下我加上 |
草, mirai 在哪刷新的 token, 我怎么不记得有写 |
on login success pt4那堆就是 |
哦 这个函数已经带上了 所以这样写是可以的 不需要上逻辑 如果没问题的话可以直接merge( |
然后发现一直都漏了个commandName 加上了就ok了(草 |
服务器告知刷新是发来什么包? |
发送和回复都是 OnlinePush.SidTicketExpired |
可是这个不会触发 mirai 去更新吧, 如果你删了现有这个 |
这个是在服务器发送了更新过的token(比如说你进行了快速登录) 后服务器发送的主动触发客户端更新web token的一个包 |
草 |
* Fix OnlinePush.SidTicketExpired logic * Add missed responseCommandName
No description provided.