Skip to content

Commit

Permalink
兼容旧客户端
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Nov 21, 2019
1 parent b3a95c0 commit bcf969e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,10 @@ public ErrorCode handleFriendRequest(String userId, WFCMessage.HandleFriendReque
public ErrorCode blackUserRequest(String fromUser, String targetUserId, int state, long[] heads) {
if (state == 2) {
state = 1;
} else {
state = 0;
}

HazelcastInstance hzInstance = m_Server.getHazelcastInstance();
MultiMap<String, FriendData> friendsMap = hzInstance.getMultiMap(USER_FRIENDS);

Expand Down

0 comments on commit bcf969e

Please sign in to comment.