修改群内是否允许添加好友

This commit is contained in:
guozhen
2024-12-30 17:51:36 +08:00
committed by xuhuixiang
parent f8ba010e99
commit 5bd7185d47
11 changed files with 102 additions and 70 deletions

View File

@@ -195,10 +195,10 @@ public class FunChatTeamFragment extends FunChatFragment {
if (!TextUtils.isEmpty(teamInfo.getExtension())) {
extensionBean = GsonUtils.getObjFromJSON(teamInfo.getExtension(), TeamExtensionBean.class);
if (extensionBean == null) {
extensionBean = new TeamExtensionBean(Integer.parseInt(teamInfo.getExtension()), 1);
extensionBean = new TeamExtensionBean(Integer.parseInt(teamInfo.getExtension()), 0);
}
} else {
extensionBean = new TeamExtensionBean(1, 1);
extensionBean = new TeamExtensionBean(1, 0);
}
isAllowAd = extensionBean.getAllowAddFriends();
}

View File

@@ -54,7 +54,7 @@ public interface ApiService {
/**
* 测试环境
*/
// String URL = "https://api-test.letschat2023.com/";
// String URL = "https://api-test.letschat2023.com/";
String SUBSTATIONID = "1703655363476242434";