Commit 77c66735 authored by Michael Gratton's avatar Michael Gratton 🤞

Fix a warning in ConversationSet when removing a conversation

When a conversation both has a message removed and eventually evaporates
or is dropped, it will be attempted to be removed from the conversation
set twice. This fixes the issue.
parent 6a42d110
Pipeline #59984 passed with stages
in 12 minutes and 29 seconds
......@@ -207,6 +207,7 @@ private class Geary.App.ConversationSet : BaseObject {
conversation.to_string()
);
removed.add(conversation);
remaining.remove(conversation);
trimmed.remove_all(conversation);
remove_conversation(conversation);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment