mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-24 11:25:50 -06:00
fix: preserve restored queue state on startup
This commit is contained in:
@@ -190,8 +190,10 @@ export abstract class ChatPaneContext extends ChatPaneLifecycle {
|
||||
this.cancelHeaderRename();
|
||||
cancelChatScroll(state);
|
||||
releaseChatMediaResourceSubscriber(state.requestUpdate);
|
||||
if (state.client) {
|
||||
markQueuedChatSendsWaitingForReconnect(state);
|
||||
if (wasConnected) {
|
||||
if (snapshot.phase === "connected") {
|
||||
markQueuedChatSendsWaitingForReconnect(state);
|
||||
}
|
||||
state.chatSending = false;
|
||||
state.chatSendingScopeKey = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user