From a40950fb8c0a5c2670322a776813c6690c92efc9 Mon Sep 17 00:00:00 2001 From: heavyrain2012 Date: Sat, 8 Aug 2020 08:15:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- broker/config/wildfirechat.conf | 3 +-- distribution/src/main/resources/wildfirechat.conf | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/broker/config/wildfirechat.conf b/broker/config/wildfirechat.conf index 43199bc9..2e77ebff 100755 --- a/broker/config/wildfirechat.conf +++ b/broker/config/wildfirechat.conf @@ -69,8 +69,7 @@ message.max_queue 1024 ##是否禁止陌生人聊天 message.disable_stranger_chat false -##黑名单处理策略,0 发送失败,返回被拉黑的错误码;1 发送成功但消息被服务器直接丢弃;2 敏感词替换为***;3 不处理。 -##所有命中敏感词的消息都会被记录在敏感词消息表中 +##黑名单策略,0 发送失败,返回被拉黑的错误码;1 发送成功但消息被服务器直接丢弃 message.blacklist.strategy 0 ##是否禁止服务器端消息搜索,该功能暂未实现。目前的影响是如果打开,则存储消息时不单独保存_searchable_content字段 diff --git a/distribution/src/main/resources/wildfirechat.conf b/distribution/src/main/resources/wildfirechat.conf index a669c1d1..2a422c46 100755 --- a/distribution/src/main/resources/wildfirechat.conf +++ b/distribution/src/main/resources/wildfirechat.conf @@ -60,8 +60,7 @@ message.max_queue 1024 ##是否禁止陌生人聊天 message.disable_stranger_chat false -##黑名单处理策略,0 发送失败,返回被拉黑的错误码;1 发送成功但消息被服务器直接丢弃;2 敏感词替换为***;3 不处理。 -##所有命中敏感词的消息都会被记录在敏感词消息表中 +##黑名单策略,0 发送失败,返回被拉黑的错误码;1 发送成功但消息被服务器直接丢弃 message.blacklist.strategy 0 ##是否禁止服务器端消息搜索,该功能暂未实现。目前的影响是如果打开,则存储消息时不单独保存_searchable_content字段