1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-16 17:36:22 +00:00

calls-call-record-row: Ignore anonymous callsers

These have an empty string which leads to

    Error parsing phone number `': Keine Telefonnumme
This commit is contained in:
Guido Günther 2020-07-20 15:51:43 +02:00 committed by Guido Gunther
parent 1f8435f4dd
commit b95de5c9e0

View file

@ -391,6 +391,9 @@ setup_contact (CallsCallRecordRow *self)
NULL); NULL);
g_assert (target != NULL); g_assert (target != NULL);
if (!target[0])
return;
// Parse it // Parse it
phone_number = e_phone_number_from_string phone_number = e_phone_number_from_string
(target, NULL, &error); (target, NULL, &error);