Fix reply cancelling

fixes #1340
This commit is contained in:
fiaxh 2023-01-16 17:27:38 +01:00
parent 73c0263f35
commit 05289e0b4d

View file

@ -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;