Fix filter for whisper status update

This commit is contained in:
barelyprofessional
2026-03-19 22:03:13 -05:00
parent df6db90822
commit f13717fbd0

View File

@@ -283,7 +283,8 @@ public class ChatBot
}
var sentMsgMaybe = SentMessages.FirstOrDefault(msg =>
msg.Type == SentMessageType.Whisper && msg.WhisperMessage == whisper.MessageRawHtmlDecoded);
msg.Type == SentMessageType.Whisper && msg.WhisperMessage == whisper.MessageRawHtmlDecoded &&
msg.Status == SentMessageTrackerStatus.WaitingForResponse);
sentMsgMaybe?.Status = SentMessageTrackerStatus.ResponseReceived;
_logger.Debug("Passing message to command interface");
var botCommandsMsg = new BotCommandMessageModel