main
hrxiang 3 years ago
parent 7457f182f3
commit e4c78e0106
  1. 10
      android/build.gradle
  2. 4
      lib/src/models/message.dart

@ -3,13 +3,10 @@ version '1.0'
buildscript {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven {
url 'http://121.37.25.71:8081/repository/maven2/'
allowInsecureProtocol = true
// url 'http://121.37.25.71:8081/repository/maven-releases/'
url 'http://121.37.25.71:8081/repository/maven2/'
}
google()
mavenCentral()
@ -22,13 +19,10 @@ buildscript {
rootProject.allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
maven {
url 'http://121.37.25.71:8081/repository/maven2/'
allowInsecureProtocol = true
// url 'http://121.37.25.71:8081/repository/maven-releases/'
url 'http://121.37.25.71:8081/repository/maven2/'
}
google()
mavenCentral()

@ -608,11 +608,13 @@ class AttachedInfoElem {
///
bool? isPrivateChat;
int? hasReadTime;
bool? notSenderNotificationPush;
AttachedInfoElem({
this.groupHasReadInfo,
this.isPrivateChat,
this.hasReadTime,
this.notSenderNotificationPush,
});
AttachedInfoElem.fromJson(Map<String, dynamic> json) {
@ -621,6 +623,7 @@ class AttachedInfoElem {
: GroupHasReadInfo.fromJson(json['groupHasReadInfo']);
isPrivateChat = json['isPrivateChat'];
hasReadTime = json['hasReadTime'];
notSenderNotificationPush = json['notSenderNotificationPush'];
}
Map<String, dynamic> toJson() {
@ -628,6 +631,7 @@ class AttachedInfoElem {
data['groupHasReadInfo'] = this.groupHasReadInfo?.toJson();
data['isPrivateChat'] = this.isPrivateChat;
data['hasReadTime'] = this.hasReadTime;
data['notSenderNotificationPush'] = this.notSenderNotificationPush;
return data;
}
}

Loading…
Cancel
Save