diff options
author | fiaxh <git@lightrise.org> | 2020-01-15 23:44:15 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-01-17 20:47:33 +0100 |
commit | 7f21f898e0ec6efe5a8cf66053150e9a20ade53e (patch) | |
tree | 945ae6e170965bdd41c85d58a836bd30ab87e7b5 /libdino/src/service/conversation_manager.vala | |
parent | 41f98271660827be6528d275bbbbee43c216fbbf (diff) | |
download | dino-7f21f898e0ec6efe5a8cf66053150e9a20ade53e.tar.gz dino-7f21f898e0ec6efe5a8cf66053150e9a20ade53e.zip |
Fix ConversationRow closing if animations are disabled
Diffstat (limited to 'libdino/src/service/conversation_manager.vala')
-rw-r--r-- | libdino/src/service/conversation_manager.vala | 2 |
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); } |