Skip to content

Commit a1cdf07

Browse files
authored
Update Message.java
Fix Android unable to get message local_ex
1 parent bc98a64 commit a1cdf07

File tree

1 file changed

+12
-0
lines changed
  • OpenIM-SDK/src/main/java/io/openim/android/sdk/models

1 file changed

+12
-0
lines changed

OpenIM-SDK/src/main/java/io/openim/android/sdk/models/Message.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ public class Message {
109109
* go 附加字段
110110
*/
111111
private Object ex;
112+
/**
113+
* 本地消息拓展信息
114+
*/
115+
private Object localEx;
112116
/**
113117
* 图片信息
114118
*/
@@ -347,6 +351,14 @@ public void setEx(Object ex) {
347351
this.ex = ex;
348352
}
349353

354+
public Object getLocalEx() {
355+
return localEx;
356+
}
357+
358+
public void setLocalEx(Object localEx) {
359+
this.localEx = localEx;
360+
}
361+
350362
public PictureElem getPictureElem() {
351363
return pictureElem;
352364
}

0 commit comments

Comments
 (0)