From 05289e0b4dc9bc076955e27b30b386cb7f0604c7 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 16 Jan 2023 17:27:38 +0100 Subject: Fix reply cancelling fixes #1340 --- main/src/ui/chat_input/chat_input_controller.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/src') diff --git a/main/src/ui/chat_input/chat_input_controller.vala b/main/src/ui/chat_input/chat_input_controller.vala index c5693300..92a12bc9 100644 --- a/main/src/ui/chat_input/chat_input_controller.vala +++ b/main/src/ui/chat_input/chat_input_controller.vala @@ -74,7 +74,7 @@ public class ChatInputController : Object { quoted_content_item = content_item; var quote_model = new Quote.Model.from_content_item(content_item, conversation, stream_interactor) { can_abort = true }; quote_model.aborted.connect(() => { - content_item = null; + quoted_content_item = null; chat_input.unset_quoted_message(); }); chat_input.set_quoted_message(Quote.get_widget(quote_model)); @@ -83,8 +83,8 @@ public class ChatInputController : Object { } public void set_conversation(Conversation conversation) { - this.quoted_content_item = null; reset_input_field_status(); + this.quoted_content_item = null; chat_input.unset_quoted_message(); this.conversation = conversation; -- cgit v1.2.3-70-g09d2