Don't ever collapse the last email in the conversation.

This commit is contained in:
Michael James Gratton 2016-05-22 13:41:42 +10:00
parent b9b4114a74
commit 6253001c4c

View file

@ -130,7 +130,7 @@ public class ConversationViewer : Gtk.Stack {
// If not a ConversationEmail, will be an
// embedded composer and should not be activated.
ConversationEmail? msg = row.get_child() as ConversationEmail;
if (email_to_row.size > 1 && msg != null) {
if (!row.get_style_context().has_class("geary_last") && msg != null) {
if (msg.is_message_body_visible) {
collapse_email(row);
} else {