/usr/share/syncevolution/xml/scripting/04vcard-photo-inlining.xml is in syncevolution-common 1.4-1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | <macro name="VCARD_OUTGOING_PHOTO_INLINING_SCRIPT"><![CDATA[
if (PHOTO_VALUE == "uri") {
string path;
path = URITOPATH(PHOTO);
if (path) {
// try to inline the photo data
string data;
data = READ(path);
if (data != UNASSIGNED) {
PHOTO = data;
PHOTO_VALUE = "binary";
}
}
}
]]></macro>
|