Skip to content

Commit

Permalink
升级sdK
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-WJ committed Jan 8, 2024
1 parent 307361d commit d72cab8
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ default void onRecvMessageExtensionsAdded(String msgID, List<KeyValue> list){}
default void onMsgDeleted(Message message){}

default void onRecvOfflineNewMessage(List<Message> msg){}

default void onRecvOnlineOnlyMessage(String s){};
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ default void onSyncServerStart(){}
* 未读消息总数改变
*/
default void onTotalUnreadMessageCountChanged(int i){}

default void onConversationUserInputStatusChanged(String s){};
}
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,9 @@ public void onRecvOfflineNewMessage(String s) {
List<Message> list = JsonUtil.toArray(s, Message.class);
post(() -> listener.onRecvOfflineNewMessage(list));
}

@Override
public void onRecvOnlineOnlyMessage(String s) {
post(() -> listener.onRecvOnlineOnlyMessage(s));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ public void onConversationChanged(String s) {
}
}

@Override
public void onConversationUserInputStatusChanged(String s) {
if (null != listener) {
CommonUtil.runMainThread(() -> listener.onConversationUserInputStatusChanged(s));
}
}

/**
* 返回当前新增的会话列表
**/
Expand Down

0 comments on commit d72cab8

Please sign in to comment.