解决用户被block后,session失效问题

This commit is contained in:
heavyrian2012
2023-03-14 14:54:22 +08:00
parent b7b262be00
commit 329791e70e
4 changed files with 21 additions and 2 deletions
@@ -102,6 +102,10 @@ public class RouteAction extends Action {
return true;
}
if(messagesStore.getUserStatus(uid) == ProtoConstants.UserStatus.Forbidden) {
sendResponse(response, ErrorCode.ERROR_CODE_USER_BLOCKED, null);
return true;
}
try {
WFCMessage.IMHttpWrapper wrapper = WFCMessage.IMHttpWrapper.parseFrom(bytes);