conversation-list: hack: don't expand non-interesting mails

When mails weren't loaded from database, conversation list may happen to
load mails through load_full_email function, which expands mails by
default.

Ideally this function shouldn't be called for these mails, but correct
solution would require to store conversation in database, for now lets
work around it by simply checking whether a mail needs to be expanded.

Fixes GNOME/geary#396

Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
5 jobs for <span class="ref-name">hack-around-loaded-mails-expand</span> in 25 minutes and 51 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #277949
fedora

00:10:43

passed #277950
ubuntu

00:13:46

 
  Test
passed #277951
flatpak

00:11:11

 
  Deploy
passed #277952
review

00:00:28

failed #277953
allowed to fail manual
stop_review

00:00:23

 
Name Stage Failure
failed
stop_review Deploy
 * [new tag]         geary-0.8.0             -> geary-0.8.0
* [new tag] geary-0.8.1 -> geary-0.8.1
* [new tag] geary-0.8.2 -> geary-0.8.2
* [new tag] geary-0.8.3 -> geary-0.8.3
* [new tag] geary-0.9.0 -> geary-0.9.0
* [new tag] geary-0.9.1 -> geary-0.9.1
Checking out d3835617 as hack-around-loaded-mails-expand...
fatal: reference is not a tree: d3835617b20049cc5e145af03f7a24f4f16a26c0
ERROR: Job failed: exit code 1