commit f80395544c3716aaf669b58ef33c94aacb91134b
parent 12b1aaa3fd29432c36df8ce5a2a624363dfd355f
Author: paul <paul@claws-mail.org>
Date: Tue, 20 Oct 2020 12:48:58 +0100
Face's are also saved from here: complete last commit
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/headerview.c b/src/headerview.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -253,7 +253,8 @@ static gint headerview_show_avatar (HeaderView *headerview, MsgInfo *msginfo)
avatarr->image = NULL; /* avoid destroying */
avatars_avatarrender_free(avatarr);
- headerview_save_contact_pic(headerview, msginfo);
+ if (prefs_common.save_xface)
+ headerview_save_contact_pic(headerview, msginfo);
return 0;
}