@@ -1909,6 +1909,7 @@ GroupInfo getGroupInfo(String groupId, boolean refresh) {
19091909 public void joinChatRoom (String chatRoomId , GeneralCallback callback ) {
19101910 if (!checkRemoteService ()) {
19111911 callback .onFailure (-1000 );
1912+ return ;
19121913 }
19131914 try {
19141915 mClient .joinChatRoom (chatRoomId , new cn .wildfirechat .client .IGeneralCallback .Stub () {
@@ -1930,6 +1931,7 @@ public void onFailure(int errorCode) throws RemoteException {
19301931 public void quitChatRoom (String chatRoomId , GeneralCallback callback ) {
19311932 if (!checkRemoteService ()) {
19321933 callback .onFailure (-1000 );
1934+ return ;
19331935 }
19341936 try {
19351937 mClient .quitChatRoom (chatRoomId , new cn .wildfirechat .client .IGeneralCallback .Stub () {
@@ -1952,6 +1954,7 @@ public void onFailure(int errorCode) throws RemoteException {
19521954 public void getChatRoomInfo (String chatRoomId , long updateDt , GetChatRoomInfoCallback callback ) {
19531955 if (!checkRemoteService ()) {
19541956 callback .onFailure (-1000 );
1957+ return ;
19551958 }
19561959
19571960 try {
@@ -1975,6 +1978,7 @@ public void onFailure(int errorCode) throws RemoteException {
19751978 public void getChatRoomMembersInfo (String chatRoomId , int maxCount , GetChatRoomMembersInfoCallback callback ) {
19761979 if (!checkRemoteService ()) {
19771980 callback .onFailure (-1000 );
1981+ return ;
19781982 }
19791983 try {
19801984 mClient .getChatRoomMembersInfo (chatRoomId , maxCount , new cn .wildfirechat .client .IGetChatRoomMembersInfoCallback .Stub () {
0 commit comments