fix: remove unused originatingChannel variable
Remove unused originatingChannel variable from runPreparedReply function that was assigned but never referenced.
This commit is contained in:
@@ -157,8 +157,6 @@ export async function runPreparedReply(
|
|||||||
|
|
||||||
const isFirstTurnInSession = isNewSession || !currentSystemSent;
|
const isFirstTurnInSession = isNewSession || !currentSystemSent;
|
||||||
const isGroupChat = sessionCtx.ChatType === "group";
|
const isGroupChat = sessionCtx.ChatType === "group";
|
||||||
const originatingChannel =
|
|
||||||
(ctx.OriginatingChannel ?? ctx.Surface ?? ctx.Provider)?.toString().toLowerCase() ?? "";
|
|
||||||
const wasMentioned = ctx.WasMentioned === true;
|
const wasMentioned = ctx.WasMentioned === true;
|
||||||
const isHeartbeat = opts?.isHeartbeat === true;
|
const isHeartbeat = opts?.isHeartbeat === true;
|
||||||
const typingMode = resolveTypingMode({
|
const typingMode = resolveTypingMode({
|
||||||
|
|||||||
Reference in New Issue
Block a user