mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-04-30 03:22:04 -04:00
Fix filter for whisper status update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user