mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 11:01:24 +00:00
fix: preserve delivery thread fallback (#4911) (thanks @yevhen)
This commit is contained in:
@@ -60,7 +60,7 @@ function normalizeSessionEntryDelivery(entry: SessionEntry): SessionEntry {
|
||||
lastChannel: entry.lastChannel,
|
||||
lastTo: entry.lastTo,
|
||||
lastAccountId: entry.lastAccountId,
|
||||
lastThreadId: entry.lastThreadId ?? entry.origin?.threadId,
|
||||
lastThreadId: entry.lastThreadId ?? entry.deliveryContext?.threadId ?? entry.origin?.threadId,
|
||||
deliveryContext: entry.deliveryContext,
|
||||
});
|
||||
const nextDelivery = normalized.deliveryContext;
|
||||
|
||||
Reference in New Issue
Block a user