We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290e8b8 commit bb3bc39Copy full SHA for bb3bc39
1 file changed
src/gateway/session-utils.ts
@@ -1131,9 +1131,10 @@ export function buildGatewaySessionRow(params: {
1131
const space = entry?.space;
1132
const id = parsed?.id;
1133
const origin = entry?.origin;
1134
- // Exclude internal system sender IDs (e.g. "heartbeat") from the display
1135
- // name fallback chain so the webchat session selector stays meaningful.
1136
- const originLabel = origin?.label && origin.label !== "heartbeat" ? origin.label : undefined;
+ // Matches the fallback sender ID in resolveHeartbeatSenderId (targets.ts).
+ const HEARTBEAT_FALLBACK_SENDER = "heartbeat";
+ const originLabel =
1137
+ origin?.label && origin.label !== HEARTBEAT_FALLBACK_SENDER ? origin.label : undefined;
1138
const displayName =
1139
entry?.displayName ??
1140
(channel
0 commit comments