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 {
111111
112112 // 会话过期时间,表示一个会话,自己不再参与之后,多久会过期。会话列表不展示已过期的会话;单位是天
113113 static CONVERSATION_EXPIRE_TIME = 30 ;
114- // 文件传输助手ID
114+ // 文件传输助手ID,如果不需要的话,将其置空即可
115115 static FILE_HELPER_ID = 'wfc_file_transfer' ;
116116 // 是否将用户信息、群组信息、频道信息、聊天室信息持久化
117117 static ENABLE_INFO_PERSISTENCE = false ;
Original file line number Diff line number Diff line change @@ -1553,7 +1553,7 @@ let store = {
15531553 _loadFriendList ( ) {
15541554 let friends = wfc . getMyFriendList ( false ) ;
15551555 let fileHelperIndex = friends . indexOf ( Config . FILE_HELPER_ID ) ;
1556- if ( fileHelperIndex < 0 ) {
1556+ if ( fileHelperIndex < 0 && Config . FILE_HELPER_ID ) {
15571557 friends . push ( Config . FILE_HELPER_ID ) ;
15581558 }
15591559 if ( friends && friends . length > 0 ) {
You can’t perform that action at this time.
0 commit comments