diff options
author | fiaxh <git@lightrise.org> | 2019-12-21 19:19:28 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-12-21 19:19:28 +0100 |
commit | 9ef4dddfdc40f515be6c780bf9fa089111590a74 (patch) | |
tree | 9173e13bc471d6c15fe5a1f1948ad61b7d4b8912 /main/src/ui/unified_window.vala | |
parent | 9565140f01cf95c42bc91aab21130bd1d06b0156 (diff) | |
download | dino-9ef4dddfdc40f515be6c780bf9fa089111590a74.tar.gz dino-9ef4dddfdc40f515be6c780bf9fa089111590a74.zip |
Fix+improve conversation selection when joining channel or starting MUC PM
Diffstat (limited to 'main/src/ui/unified_window.vala')
-rw-r--r-- | main/src/ui/unified_window.vala | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/main/src/ui/unified_window.vala b/main/src/ui/unified_window.vala index 9313ee10..7cecceb5 100644 --- a/main/src/ui/unified_window.vala +++ b/main/src/ui/unified_window.vala @@ -36,7 +36,6 @@ public class UnifiedWindow : Gtk.Window { private Stack right_stack; private StreamInteractor stream_interactor; - private Conversation? conversation; private Database db; private Config config; @@ -67,13 +66,6 @@ public class UnifiedWindow : Gtk.Window { check_stack(); } - public void on_conversation_selected(Conversation conversation, bool do_reset_search = true, bool default_initialize_conversation = true) { - if (this.conversation == null || !this.conversation.equals(conversation)) { - this.conversation = conversation; - conversation_selected(conversation); - } - } - private void setup_unified() { Builder builder = new Builder.from_resource("/im/dino/Dino/unified_main_content.ui"); paned = (Paned) builder.get_object("paned"); |