修改群内是否允许添加好友
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ public interface ApiService {
|
||||
/**
|
||||
* 测试环境
|
||||
*/
|
||||
// String URL = "https://api-test.letschat2023.com/";
|
||||
// String URL = "https://api-test.letschat2023.com/";
|
||||
|
||||
|
||||
String SUBSTATIONID = "1703655363476242434";
|
||||
|
||||
Reference in New Issue
Block a user