Skip to content

Commit

Permalink
v5.0.4发布!
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Jiang committed Jan 13, 2021
1 parent 82cfb6a commit 7cc12b8
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
Binary file not shown.
Binary file modified demo_src/Server/MobileIMSDKServerDemo/lib/MobileIMSDKServer.jar
Binary file not shown.
8 changes: 8 additions & 0 deletions release_notes/release_note_v5.0.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

----------------------------------- v5.0.4������2021-01-13
MobileIMSDK v5.0.4�����˵����

�������Bug��
1. [�����][bug]�޸���LocalSendHelper.replyDataForUnlogined(..)�����е�һ��bug��


Binary file modified sdk_binary/Server/MobileIMSDKServer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ public static void sendData(String to_user_id, String dataContent
public static void sendData(String to_user_id, String dataContent
, boolean QoS, String fingerPrint, int typeu, MBObserver resultObserver) throws Exception
{
sendData(
ProtocalFactory.createCommonData(dataContent, "0", to_user_id, QoS, fingerPrint, typeu)
, resultObserver);
sendData(ProtocalFactory.createCommonData(dataContent, "0", to_user_id, QoS, fingerPrint, typeu), resultObserver);
}

public static void sendData(Protocal p, MBObserver resultObserver) throws Exception
Expand Down Expand Up @@ -152,7 +150,7 @@ public static void replyDataForUnlogined(final Channel session, Protocal p, MBOb

if(resultObserver == null)
{
MBObserver sendResultObserver = new MBObserver(){
resultObserver = new MBObserver(){
@Override
public void update(boolean sendOK, Object extraObj)
{
Expand All @@ -165,8 +163,7 @@ public void update(boolean sendOK, Object extraObj)
};
}

Protocal perror = ProtocalFactory.createPErrorResponse(
ErrorCode.ForS.RESPONSE_FOR_UNLOGIN, p.toGsonString(), "-1"); // 尚未登陆则user_id就不存在了,用-1表示吧,目前此情形下该参数无意义
Protocal perror = ProtocalFactory.createPErrorResponse(ErrorCode.ForS.RESPONSE_FOR_UNLOGIN, p.toGsonString(), "-1"); // 尚未登陆则user_id就不存在了,用-1表示吧,目前此情形下该参数无意义
sendData(session, perror, resultObserver);
}

Expand Down

0 comments on commit 7cc12b8

Please sign in to comment.