Changeset 72 for trunk/UContact.pas


Ignore:
Timestamp:
Dec 13, 2021, 8:47:20 PM (3 years ago)
Author:
chronos
Message:
  • Fixed: Properties with just BASE64 instead of ENCODING=BASE64 was not decoded using Base64 and so contact photos were not loaded correctly.
  • Added: Allow to save from file and load to file contact property values in All fields tab.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UContact.pas

    r71 r72  
    481481  I: Integer;
    482482begin
    483   if Attributes.IndexOf('BASE64') <> -1 then
    484     Encoding := 'BASE64'
    485   else
     483  if Attributes.IndexOf('BASE64') <> -1 then begin
     484    Encoding := 'BASE64';
     485    Value := GetDecodedValue;
     486  end else
    486487  if Attributes.IndexOfName('ENCODING') <> -1 then begin
    487488    Encoding := Attributes.Values['ENCODING'];
Note: See TracChangeset for help on using the changeset viewer.