[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-33-ge30f272f1
paul at claws-mail.org
paul at claws-mail.org
Sat Aug 7 18:05:08 CEST 2021
The branch, gtk3 has been updated
via e30f272f17f55ac3c73184014fa5977dd347b6c2 (commit)
from 0f228718a7dbe35a298a3a95c18df0c8ddeb4804 (commit)
Summary of changes:
src/prefs_account.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit e30f272f17f55ac3c73184014fa5977dd347b6c2
Author: paul <paul at claws-mail.org>
Date: Sat Aug 7 17:05:05 2021 +0100
when using 'hide_timezone' use UTC when generating MessageID
diff --git a/src/prefs_account.c b/src/prefs_account.c
index f5cf587f3..f5570e053 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -5895,7 +5895,8 @@ gchar *prefs_account_generate_msgid(PrefsAccount *account)
while (strchr(addr, '@') != NULL && strchr(addr, '@') != strrchr(addr, '@'))
*(strchr(addr, '@')) = '_';
- now = g_date_time_new_now_local();
+ now = (prefs_common.hide_timezone)? g_date_time_new_now_utc() :
+ g_date_time_new_now_local();
tmbuf = g_date_time_format(now, "%Y%m%d%H%M%S");
buf = g_strdup_printf("%s.%08x%s",
tmbuf, (guint)rand(), addr);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list