Skip to content

Commit

Permalink
解决当应用层异常重启后,页面状态不对的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
heavyrian2012 committed Dec 11, 2024
1 parent c8d3526 commit 00b2c67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/main/java/cn/wildfirechat/remote/ChatManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -9521,7 +9521,9 @@ public void onSecretMessageBurned(int[] messageIds) throws RemoteException {

int clientConnectionStatus = mClient.getConnectionStatus();
if (connectionStatus == ConnectionStatus.ConnectionStatusConnected) {
//service刚绑定成功时连接状态就已经时连接成功了,可能是应用出现异常重启了。
onConnectionStatusChange(clientConnectionStatus);
onSettingUpdated();
}

mainHandler.post(() -> {
Expand Down

0 comments on commit 00b2c67

Please sign in to comment.