禁止发送消息给被封禁用户

This commit is contained in:
imhao183
2019-12-26 21:18:34 +08:00
parent 91b209d0fa
commit 11375133ba
4 changed files with 15 additions and 3 deletions
@@ -129,7 +129,7 @@ public class MemoryMessagesStore implements IMessagesStore {
Constants.MAX_MESSAGE_QUEUE = Integer.parseInt(m_Server.getConfig().getProperty(MESSAGE_Max_Queue));
try {
mDisableStrangerChat = Boolean.parseBoolean(Server.getConfig().getProperty(BrokerConstants.MESSAGE_Disable_Stranger_Chat));
mDisableStrangerChat = Boolean.parseBoolean(m_Server.getConfig().getProperty(BrokerConstants.MESSAGE_Disable_Stranger_Chat));
} catch (Exception e) {
e.printStackTrace();
}