We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8e5886 commit 6358afcCopy full SHA for 6358afc
src/config.js
@@ -111,7 +111,7 @@ export default class Config {
111
112
// 会话过期时间,表示一个会话,自己不再参与之后,多久会过期。会话列表不展示已过期的会话;单位是天
113
static CONVERSATION_EXPIRE_TIME = 30;
114
- // 文件传输助手ID
+ // 文件传输助手ID,如果不需要的话,将其置空即可
115
static FILE_HELPER_ID = 'wfc_file_transfer';
116
// 是否将用户信息、群组信息、频道信息、聊天室信息持久化
117
static ENABLE_INFO_PERSISTENCE = false;
src/store.js
@@ -1553,7 +1553,7 @@ let store = {
1553
_loadFriendList() {
1554
let friends = wfc.getMyFriendList(false);
1555
let fileHelperIndex = friends.indexOf(Config.FILE_HELPER_ID);
1556
- if (fileHelperIndex < 0) {
+ if (fileHelperIndex < 0 && Config.FILE_HELPER_ID) {
1557
friends.push(Config.FILE_HELPER_ID);
1558
}
1559
if (friends && friends.length > 0) {
0 commit comments