From df3716622a37cded9e3754da77497ca6d2f2baeb Mon Sep 17 00:00:00 2001 From: fiaxh Date: Mon, 30 Sep 2019 02:11:23 +0200 Subject: Rework no-open-conversation placeholder --- libdino/src/plugin/interfaces.vala | 1 + libdino/src/service/conversation_manager.vala | 1 + 2 files changed, 2 insertions(+) (limited to 'libdino') diff --git a/libdino/src/plugin/interfaces.vala b/libdino/src/plugin/interfaces.vala index 41929ac0..2c9fb69d 100644 --- a/libdino/src/plugin/interfaces.vala +++ b/libdino/src/plugin/interfaces.vala @@ -70,6 +70,7 @@ public interface ConversationTitlebarEntry : Object { public interface ConversationTitlebarWidget : Object { public abstract void set_conversation(Conversation conversation); + public abstract void unset_conversation(); } public abstract interface ConversationItemPopulator : Object { diff --git a/libdino/src/service/conversation_manager.vala b/libdino/src/service/conversation_manager.vala index 10ba5f6d..1ba53b35 100644 --- a/libdino/src/service/conversation_manager.vala +++ b/libdino/src/service/conversation_manager.vala @@ -143,6 +143,7 @@ public class ConversationManager : StreamInteractionModule, Object { if(conversation.active) conversation_deactivated(conversation); } } + conversations.unset(account); } private class MessageListener : Dino.MessageListener { -- cgit v1.2.3-70-g09d2