为聊天室增加单独的允许拉取远程消息的开关

This commit is contained in:
heavyrain2012
2021-11-19 21:12:11 +08:00
parent 38002aecc9
commit 3862ab5254
4 changed files with 20 additions and 4 deletions
@@ -60,6 +60,9 @@ message.remote_history_message 0
##服务器为每个用户缓存的消息数量。这个值改得太大,拉取消息时间变长,另外会占用大量内存。
message.max_queue 1024
##是否开启拉取聊天室远程历史消息。如果为1,可以下拉继续加载在服务器上的该聊天室的消息;如果为0则不能。默认为1
message.chatroom_remote_history_message 1
##是否禁止陌生人聊天
message.disable_stranger_chat false