File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ export default class Config {
111
111
112
112
// 会话过期时间,表示一个会话,自己不再参与之后,多久会过期。会话列表不展示已过期的会话;单位是天
113
113
static CONVERSATION_EXPIRE_TIME = 30 ;
114
- // 文件传输助手ID
114
+ // 文件传输助手ID,如果不需要的话,将其置空即可
115
115
static FILE_HELPER_ID = 'wfc_file_transfer' ;
116
116
// 是否将用户信息、群组信息、频道信息、聊天室信息持久化
117
117
static ENABLE_INFO_PERSISTENCE = false ;
Original file line number Diff line number Diff line change @@ -1553,7 +1553,7 @@ let store = {
1553
1553
_loadFriendList ( ) {
1554
1554
let friends = wfc . getMyFriendList ( false ) ;
1555
1555
let fileHelperIndex = friends . indexOf ( Config . FILE_HELPER_ID ) ;
1556
- if ( fileHelperIndex < 0 ) {
1556
+ if ( fileHelperIndex < 0 && Config . FILE_HELPER_ID ) {
1557
1557
friends . push ( Config . FILE_HELPER_ID ) ;
1558
1558
}
1559
1559
if ( friends && friends . length > 0 ) {
You can’t perform that action at this time.
0 commit comments