mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 17:08:27 +00:00
fix: preserve delivery thread fallback (#4911) (thanks @yevhen)
This commit is contained in:
@@ -98,7 +98,7 @@ export function deliveryContextFromSession(
|
||||
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,
|
||||
};
|
||||
return normalizeSessionDeliveryFields(source).deliveryContext;
|
||||
|
||||
Reference in New Issue
Block a user