房间私聊输入体验优化

This commit is contained in:
huangjian
2023-02-08 16:41:37 +08:00
parent 0679944adf
commit 4beaa9a299
13 changed files with 91 additions and 36 deletions

View File

@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
apply from: '../mob.gradle'
android {
compileSdkVersion 30
compileSdkVersion 31
defaultConfig {
minSdkVersion 21
targetSdkVersion 29

View File

@@ -158,5 +158,7 @@ public class InitInfo implements Serializable {
private List<String> officialMsgUids;
private List<String> officialAccountUids;
private boolean twelveStarSwitch;
}

View File

@@ -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;
}
}