diff options
author | bobufa <bobufa@users.noreply.github.com> | 2018-08-04 12:48:00 +0200 |
---|---|---|
committer | bobufa <bobufa@users.noreply.github.com> | 2018-08-13 22:39:18 +0200 |
commit | b35abad05455970da36aafafd4afc9148aa43ced (patch) | |
tree | c2d0b94c36d5d8c669e20aa39f84329494694dbc /main/src/ui/unified_window.vala | |
parent | d025387ab95719ebfd7e41676c6f4138bc0afc44 (diff) | |
download | dino-b35abad05455970da36aafafd4afc9148aa43ced.tar.gz dino-b35abad05455970da36aafafd4afc9148aa43ced.zip |
fix wrong conversation being prefilled
Diffstat (limited to 'main/src/ui/unified_window.vala')
-rw-r--r-- | main/src/ui/unified_window.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/ui/unified_window.vala b/main/src/ui/unified_window.vala index 115e392c..22b8f49a 100644 --- a/main/src/ui/unified_window.vala +++ b/main/src/ui/unified_window.vala @@ -91,13 +91,13 @@ public class UnifiedWindow : Gtk.Window { private void reset_search_entry() { if (conversation_frame.conversation != null) { - switch (conversation_frame.conversation.type_) { + switch (conversation.type_) { case Conversation.Type.CHAT: case Conversation.Type.GROUPCHAT_PM: - search_box.search_entry.text = @"with:$(conversation_frame.conversation.counterpart) "; + search_box.search_entry.text = @"with:$(conversation.counterpart) "; break; case Conversation.Type.GROUPCHAT: - search_box.search_entry.text = @"in:$(conversation_frame.conversation.counterpart) "; + search_box.search_entry.text = @"in:$(conversation.counterpart) "; break; } } |