mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-21 22:44:23 +00:00
parent
73c0263f35
commit
05289e0b4d
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ public class ChatInputController : Object {
|
||||||
quoted_content_item = content_item;
|
quoted_content_item = content_item;
|
||||||
var quote_model = new Quote.Model.from_content_item(content_item, conversation, stream_interactor) { can_abort = true };
|
var quote_model = new Quote.Model.from_content_item(content_item, conversation, stream_interactor) { can_abort = true };
|
||||||
quote_model.aborted.connect(() => {
|
quote_model.aborted.connect(() => {
|
||||||
content_item = null;
|
quoted_content_item = null;
|
||||||
chat_input.unset_quoted_message();
|
chat_input.unset_quoted_message();
|
||||||
});
|
});
|
||||||
chat_input.set_quoted_message(Quote.get_widget(quote_model));
|
chat_input.set_quoted_message(Quote.get_widget(quote_model));
|
||||||
|
@ -83,8 +83,8 @@ public class ChatInputController : Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void set_conversation(Conversation conversation) {
|
public void set_conversation(Conversation conversation) {
|
||||||
this.quoted_content_item = null;
|
|
||||||
reset_input_field_status();
|
reset_input_field_status();
|
||||||
|
this.quoted_content_item = null;
|
||||||
chat_input.unset_quoted_message();
|
chat_input.unset_quoted_message();
|
||||||
|
|
||||||
this.conversation = conversation;
|
this.conversation = conversation;
|
||||||
|
|
Loading…
Reference in a new issue