diff --git a/broker/config/wildfirechat.conf b/broker/config/wildfirechat.conf index 03681470..c8288726 100755 --- a/broker/config/wildfirechat.conf +++ b/broker/config/wildfirechat.conf @@ -42,8 +42,8 @@ client.proto.secret_key 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x78,0x79,0x7A,0 ##用来生产im token的私钥,只在服务器使用,客户端不用。正式使用时为了安全一定要修改这个值,切记切记 token.key testim -##首次登录,是否接收之前的历史消息 -message.roaming 0 +##首次登录,是否接收之前的历史消息。0 不接收;1接收。 +message.roaming 1 #********************************************************************* # hazelcase configuration diff --git a/distribution/src/main/resources/wildfirechat.conf b/distribution/src/main/resources/wildfirechat.conf index 708ec7ad..246ce465 100755 --- a/distribution/src/main/resources/wildfirechat.conf +++ b/distribution/src/main/resources/wildfirechat.conf @@ -42,6 +42,9 @@ client.proto.secret_key 0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x78,0x79,0x7A,0 ##用来生产im token的私钥,只在服务器使用,客户端不用。正式使用时为了安全一定要修改这个值,切记切记 token.key testim +##首次登录,是否接收之前的历史消息。0 不接收;1接收。 +message.roaming 1 + #********************************************************************* # hazelcase configuration #*********************************************************************