aboutsummaryrefslogtreecommitdiff
path: root/libdino/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-09-30 02:11:23 +0200
committerfiaxh <git@lightrise.org>2019-10-01 17:03:24 +0200
commitdf3716622a37cded9e3754da77497ca6d2f2baeb (patch)
tree079e18e51ea54723c5b1209173f8d3f75b54d102 /libdino/src
parent5d65f047d0fd1a1ed4a3bbe076d5cb4df76e7d5f (diff)
downloaddino-df3716622a37cded9e3754da77497ca6d2f2baeb.tar.gz
dino-df3716622a37cded9e3754da77497ca6d2f2baeb.zip
Rework no-open-conversation placeholder
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 {