Browse Source

Wrap the message.enc_format field

COM-121
Thomas 1 year ago
parent
commit
1a28ba297a
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      pEpCOMServerAdapter.idl
  2. +2
    -0
      pEp_utility.cpp

+ 1
- 0
pEpCOMServerAdapter.idl View File

@ -373,6 +373,7 @@ interface IpEpEngine : IUnknown {
SAFEARRAY(BSTR) Keywords;
BSTR Comments;
SAFEARRAY(struct StringPair) OptFields;
pEpEncFormat EncFormat;
[readonly] BSTR SenderFpr;
};


+ 2
- 0
pEp_utility.cpp View File

@ -356,6 +356,7 @@ namespace pEp {
msg2->Keywords = string_array(msg->keywords);
msg2->Comments = bstr(msg->comments);
msg2->OptFields = array_from_C<StringPair, stringpair_list_t>(msg->opt_fields);
msg2->EncFormat = (pEpEncFormat)msg->enc_format;
msg2->SenderFpr = bstr(msg->_sender_fpr);
}
@ -572,6 +573,7 @@ namespace pEp {
msg2->keywords = new_stringlist(msg->Keywords);
msg2->comments = str(msg->Comments);
msg2->opt_fields = stringpair_list(msg->OptFields);
msg2->enc_format = (PEP_enc_format)msg->EncFormat;
return msg2;
}


Loading…
Cancel
Save