1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-09-28 14:55:26 +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);
g_assert (target != NULL);
if (!target[0])
return;
// Parse it
phone_number = e_phone_number_from_string
(target, NULL, &error);