From cf55f321dd0df48742e213b1fc184c1f161d48cd Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Sat, 31 Aug 2024 15:01:06 +0200 Subject: [PATCH] Revert "channel: account for confirm_select when restoring topology" This reverts commit bb0ba233f5a338502b2037ba5846d2b50bbf8b80. Doesn't make sense to make this part of topology actually --- src/channel.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/channel.rs b/src/channel.rs index 2cb0ee8f..198b45ff 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -148,12 +148,6 @@ impl Channel { ch: &ChannelDefinitionInternal, c: &mut RestoredChannel, ) -> Result<()> { - if let Some(channel) = ch.channel.as_ref() { - if channel.status.confirm() { - c.confirm_select(ConfirmSelectOptions::default()).await?; - } - } - // First, redeclare all queues for queue in &ch.queues { if queue.is_declared() {