Skip to content

Commit

Permalink
添加是否接收历史消息的开关
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrain2012 committed Jul 21, 2019
1 parent 38b84f0 commit 6bd6a80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broker/config/wildfirechat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions distribution/src/main/resources/wildfirechat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
#*********************************************************************
Expand Down

0 comments on commit 6bd6a80

Please sign in to comment.