修复黑名单问题. fix #213, fix #212

This commit is contained in:
imndx
2020-06-09 16:53:24 +08:00
parent 28600ea7f9
commit 599547d627
@@ -2273,8 +2273,6 @@ public class MemoryMessagesStore implements IMessagesStore {
public ErrorCode blackUserRequest(String fromUser, String targetUserId, int state, long[] heads) { public ErrorCode blackUserRequest(String fromUser, String targetUserId, int state, long[] heads) {
if (state == 2) { if (state == 2) {
state = 1; state = 1;
} else {
state = 0;
} }
HazelcastInstance hzInstance = m_Server.getHazelcastInstance(); HazelcastInstance hzInstance = m_Server.getHazelcastInstance();