Browse Source

Comment tweak, follow-up to commit 86ec8f95,

master
Jörg Knobloch 1 year ago
parent
commit
779835b8ec
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      addon/content/modules/pEp.js

+ 3
- 2
addon/content/modules/pEp.js View File

@ -337,8 +337,9 @@ pEp.Attachment = class {
};
pEp.Message = class {
// constructor fields that have no default value are required for
// the engine to correctly process the message
// Constructor fields that have no default value are required for
// the engine to correctly process the message.
// Anything after id, short, long, from, to is only used in tests.
constructor(id, short, long, from, to = [], dir = DIR_OUTGOING, enc_format = ENC_FORMAT_PEP,
attachmentsArray = [], optFieldsArray = [], formatted_long = undefined) {
if (typeof to === "string") to = [to];


Loading…
Cancel
Save