aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/conversation_manager.vala
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/service/conversation_manager.vala')
-rw-r--r--libdino/src/service/conversation_manager.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdino/src/service/conversation_manager.vala b/libdino/src/service/conversation_manager.vala
index c473ea77..3b48f154 100644
--- a/libdino/src/service/conversation_manager.vala
+++ b/libdino/src/service/conversation_manager.vala
@@ -126,6 +126,8 @@ public class ConversationManager : StreamInteractionModule, Object {
}
public void close_conversation(Conversation conversation) {
+ if (!conversation.active) return;
+
conversation.active = false;
conversation_deactivated(conversation);
}