房间私聊输入体验优化
This commit is contained in:
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
|
||||
apply from: '../mob.gradle'
|
||||
|
||||
android {
|
||||
compileSdkVersion 30
|
||||
compileSdkVersion 31
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
|
@@ -158,5 +158,7 @@ public class InitInfo implements Serializable {
|
||||
|
||||
private List<String> officialMsgUids;
|
||||
|
||||
private List<String> officialAccountUids;
|
||||
|
||||
private boolean twelveStarSwitch;
|
||||
}
|
||||
|
@@ -17,8 +17,12 @@ public class SystemUidUtil {
|
||||
initInfo.getOfficialMsgUids().contains(uid)) {
|
||||
return true;
|
||||
}
|
||||
return XChatConstants.SECRETARY_UID.equals(uid)
|
||||
|| XChatConstants.SYSTEM_MESSAGE_UID.equals(uid)
|
||||
|| XChatConstants.MATCH_UID.equals(uid);
|
||||
|
||||
if (initInfo != null &&
|
||||
!ListUtils.isListEmpty(initInfo.getOfficialAccountUids()) &&
|
||||
initInfo.getOfficialAccountUids().contains(uid)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user