diff --git a/src/GmRelay.Bot/Features/Confirmation/SendConfirmation/SendConfirmationHandler.cs b/src/GmRelay.Bot/Features/Confirmation/SendConfirmation/SendConfirmationHandler.cs index f69011a..1a4f404 100644 --- a/src/GmRelay.Bot/Features/Confirmation/SendConfirmation/SendConfirmationHandler.cs +++ b/src/GmRelay.Bot/Features/Confirmation/SendConfirmation/SendConfirmationHandler.cs @@ -112,6 +112,7 @@ public sealed class SendConfirmationHandler( confirmation_sent_at = now(), updated_at = now() WHERE id = @SessionId + AND confirmation_sent_at IS NULL """, new { diff --git a/src/GmRelay.Bot/Features/Sessions/RescheduleSession/HandleRescheduleTimeInputHandler.cs b/src/GmRelay.Bot/Features/Sessions/RescheduleSession/HandleRescheduleTimeInputHandler.cs index e66efb0..e255761 100644 --- a/src/GmRelay.Bot/Features/Sessions/RescheduleSession/HandleRescheduleTimeInputHandler.cs +++ b/src/GmRelay.Bot/Features/Sessions/RescheduleSession/HandleRescheduleTimeInputHandler.cs @@ -224,6 +224,8 @@ public sealed class HandleRescheduleTimeInputHandler( UPDATE sessions SET scheduled_at = @NewTime, status = @Status, + confirmation_message_id = NULL, + confirmation_sent_at = NULL, one_hour_reminder_processed_at = NULL, updated_at = now() WHERE id = @SessionId diff --git a/src/GmRelay.Bot/Features/Sessions/RescheduleSession/RescheduleVotingDeadlineService.cs b/src/GmRelay.Bot/Features/Sessions/RescheduleSession/RescheduleVotingDeadlineService.cs index 046b126..3c856cd 100644 --- a/src/GmRelay.Bot/Features/Sessions/RescheduleSession/RescheduleVotingDeadlineService.cs +++ b/src/GmRelay.Bot/Features/Sessions/RescheduleSession/RescheduleVotingDeadlineService.cs @@ -169,6 +169,7 @@ public sealed class RescheduleVotingDeadlineService( SET scheduled_at = @NewTime, status = @Status, confirmation_message_id = NULL, + confirmation_sent_at = NULL, link_message_id = NULL, one_hour_reminder_processed_at = NULL, updated_at = now()