I#2044 - Calendar: Decode attendee names in meeting editor

Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/2044
This commit is contained in:
Milan Crha
2022-09-27 10:38:11 +02:00
parent dfc2b66c00
commit f5185e6cfa

View File

@ -955,6 +955,8 @@ process_section (EMeetingListView *view,
email_addr = g_strdup (e_destination_get_email (dest));
if (email_addr && *email_addr) {
name = camel_header_decode_string (e_destination_get_name (dest), "UTF-8");
if (!name)
name = g_strdup (e_destination_get_name (dest));
if (name && !*name) {
g_free (name);