If a display name contains a comma, the call history service is confused and
thinks the two parts of one name are multiple call participants. The
attached patch slightly changes the format in the history records:
- If the name contains a quote (e.g. Jane"Doe, escape it to Jane\"Doe)
- Quote all names in the history record (e.g. "Doe, Jane" instead of Doe,
- Read the full name as a quoted string
Existing records are not changed and continue to show the same content (i.e.
Doe instead of Doe, Jane).
Any objections before I push that?
callhistory-displayname-comma.patch (2.27 KB)