aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/unified_window.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-12-21 19:19:28 +0100
committerfiaxh <git@lightrise.org>2019-12-21 19:19:28 +0100
commit9ef4dddfdc40f515be6c780bf9fa089111590a74 (patch)
tree9173e13bc471d6c15fe5a1f1948ad61b7d4b8912 /main/src/ui/unified_window.vala
parent9565140f01cf95c42bc91aab21130bd1d06b0156 (diff)
downloaddino-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.vala8
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");