Skip to content
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

被封禁 Connection status 的状态变化不对 #506

Open
truextcfans opened this issue Sep 27, 2024 · 3 comments
Open

被封禁 Connection status 的状态变化不对 #506

truextcfans opened this issue Sep 27, 2024 · 3 comments

Comments

@truextcfans
Copy link

提issue小提示

当前用户正常登陆状态 然后被封禁 Connection status 的状态变化不对

  • (void)setCurrentConnectionStatus:(ConnectionStatus)currentConnectionStatus {
    NSLog(@"Connection status changed to (%ld)", (long)currentConnectionStatus);

操作说明

当前用户被封禁

表现现象

Connection变化过程
Connection status changed to (1)
Connection status changed to (-2)

预期结果

Connection status changed to (1)
Connection status changed to (-3)
Connection status changed to (-2)

补充条件

必现

账号被踢的时候 状态是正常的
Connection status changed to (1)
Connection status changed to (-7)
Connection status changed to (-2)

后台是通过野火admin api里面的block-user-status接口
http://domain:18080/admin/user/update_block_status

heavyrain2012 pushed a commit that referenced this issue Sep 28, 2024
@heavyrain2012
Copy link
Collaborator

请检查这个提交 b5d07b1

@truextcfans
Copy link
Author

[self disconnect:YES clearSession:YES]; 这个逻辑注释掉了 会不会有其他问题

还是说 // return; 这个步骤注释掉就可以了

@heavyrain2012
Copy link
Collaborator

可以像 b5d07b1 这个提交的修改。你说的也可以测试一下有没有问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants