File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
android/src/io/jchat/android Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ public class Constant {
105105 static final String PROGRESS = "progress" ;
106106 public static final String UNRECEIPT_COUNT = "unreceiptCount" ;
107107 public static final String IS_DESCEND = "isDescend" ;
108+ public static final String UNKNOW = "unknow" ;
108109
109110 /**
110111 * ChatRoom
Original file line number Diff line number Diff line change @@ -219,8 +219,9 @@ public static WritableMap toJSObject(Message msg) {
219219 result .putString (Constant .EVENT_TYPE , "group_info_updated" );
220220 break ;
221221 }
222+ break ;
222223 default :
223- return null ;
224+ result . putString ( Constant . TYPE , Constant . UNKNOW ) ;
224225 }
225226 } catch (Exception e ) {
226227 e .printStackTrace ();
You can’t perform that action at this time.
0 commit comments