diff options
author | fiaxh <git@lightrise.org> | 2023-01-16 17:27:38 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-01-16 17:39:22 +0100 |
commit | 05289e0b4dc9bc076955e27b30b386cb7f0604c7 (patch) | |
tree | 34d55aea577beab560c19ff4c157615e76989f4f /main/src/ui/chat_input | |
parent | 73c0263f35a73b68d20d299ee7fe8c37b9a6ffeb (diff) | |
download | dino-05289e0b4dc9bc076955e27b30b386cb7f0604c7.tar.gz dino-05289e0b4dc9bc076955e27b30b386cb7f0604c7.zip |
Fix reply cancelling
fixes #1340
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r-- | main/src/ui/chat_input/chat_input_controller.vala | 4 |
1 files changed, 2 insertions, 2 deletions
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; |