mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 15:06:05 +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:
parent
1f8435f4dd
commit
b95de5c9e0
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue