aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src')
-rw-r--r--libdino/src/plugin/interfaces.vala1
-rw-r--r--libdino/src/service/conversation_manager.vala1
2 files changed, 2 insertions, 0 deletions
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 {