/usr/share/syncevolution/xml/scripting/04vcard-photo-inlining.xml is in syncevolution-common 1.2.2-1.
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 | <macro name="VCARD_OUTGOING_PHOTO_INLINING_SCRIPT"><![CDATA[
if (PHOTO_VALUE == "uri" &&
SUBSTR(PHOTO, 0, 7) == "file://") {
// inline the photo data
string data;
data = READ(SUBSTR(PHOTO, 7));
if (data != UNASSIGNED) {
PHOTO = data;
PHOTO_VALUE = "binary";
}
}
]]></macro>
|