mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 11:38:53 +00:00
fix(eas): properly encode DisplayTo (fixes #4995)
This commit is contained in:
@@ -884,7 +884,9 @@ struct GlobalObjectId {
|
||||
{
|
||||
[s appendFormat: @"<To xmlns=\"Email:\">%@</To>", [value activeSyncRepresentationInContext: context]];
|
||||
// DisplayTo - If there are multiple display names, they are separated by semi-colons.
|
||||
[s appendFormat: @"<DisplayTo xmlns=\"Email:\">%@</DisplayTo>", [self _personalNameFrom: [[self envelope] to]]];
|
||||
value = [self _personalNameFrom: [[self envelope] to]];
|
||||
if (value)
|
||||
[s appendFormat: @"<DisplayTo xmlns=\"Email:\">%@</DisplayTo>", [value activeSyncRepresentationInContext: context]];
|
||||
}
|
||||
|
||||
// From
|
||||
|
||||
Reference in New Issue
Block a user