Skip to content

Commit 53ac97d

Browse files
committed
update docs
1 parent ab851c9 commit 53ac97d

File tree

7 files changed

+30
-24
lines changed

7 files changed

+30
-24
lines changed

docs/global.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
187187
<br class="clear">
188188

189189
<footer>
190-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
190+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
191191
</footer>
192192

193193
<script> prettyPrint(); </script>

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
5656
<br class="clear">
5757

5858
<footer>
59-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
59+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
6060
</footer>
6161

6262
<script> prettyPrint(); </script>

docs/lib_lns.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
168168
<br class="clear">
169169

170170
<footer>
171-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
171+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
172172
</footer>
173173

174174
<script> prettyPrint(); </script>

docs/module-lns.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
488488
<br class="clear">
489489

490490
<footer>
491-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
491+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
492492
</footer>
493493

494494
<script> prettyPrint(); </script>

docs/module-session-client-SessionClient.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ <h5>Parameters:</h5>
473473

474474
<dt class="tag-source">Source:</dt>
475475
<dd class="tag-source"><ul class="dummy"><li>
476-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line450">line 450</a>
476+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line455">line 455</a>
477477
</li></ul></dd>
478478

479479

@@ -583,7 +583,7 @@ <h4 class="name" id="close"><span class="type-signature"></span>close<span class
583583

584584
<dt class="tag-source">Source:</dt>
585585
<dd class="tag-source"><ul class="dummy"><li>
586-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line374">line 374</a>
586+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line375">line 375</a>
587587
</li></ul></dd>
588588

589589

@@ -743,7 +743,7 @@ <h5>Parameters:</h5>
743743

744744
<dt class="tag-source">Source:</dt>
745745
<dd class="tag-source"><ul class="dummy"><li>
746-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line475">line 475</a>
746+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line480">line 480</a>
747747
</li></ul></dd>
748748

749749

@@ -925,7 +925,7 @@ <h5>Parameters:</h5>
925925

926926
<dt class="tag-source">Source:</dt>
927927
<dd class="tag-source"><ul class="dummy"><li>
928-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line665">line 665</a>
928+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line671">line 671</a>
929929
</li></ul></dd>
930930

931931

@@ -1112,7 +1112,7 @@ <h5>Parameters:</h5>
11121112

11131113
<dt class="tag-source">Source:</dt>
11141114
<dd class="tag-source"><ul class="dummy"><li>
1115-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line682">line 682</a>
1115+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line688">line 688</a>
11161116
</li></ul></dd>
11171117

11181118

@@ -1276,7 +1276,7 @@ <h5>Parameters:</h5>
12761276

12771277
<dt class="tag-source">Source:</dt>
12781278
<dd class="tag-source"><ul class="dummy"><li>
1279-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line399">line 399</a>
1279+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line400">line 400</a>
12801280
</li></ul></dd>
12811281

12821282

@@ -1458,7 +1458,7 @@ <h5>Parameters:</h5>
14581458

14591459
<dt class="tag-source">Source:</dt>
14601460
<dd class="tag-source"><ul class="dummy"><li>
1461-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line579">line 579</a>
1461+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line585">line 585</a>
14621462
</li></ul></dd>
14631463

14641464

@@ -1645,7 +1645,7 @@ <h5>Parameters:</h5>
16451645

16461646
<dt class="tag-source">Source:</dt>
16471647
<dd class="tag-source"><ul class="dummy"><li>
1648-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line609">line 609</a>
1648+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line615">line 615</a>
16491649
</li></ul></dd>
16501650

16511651

@@ -2190,7 +2190,7 @@ <h5>Parameters:</h5>
21902190

21912191
<dt class="tag-source">Source:</dt>
21922192
<dd class="tag-source"><ul class="dummy"><li>
2193-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line440">line 440</a>
2193+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line441">line 441</a>
21942194
</li></ul></dd>
21952195

21962196

@@ -2840,7 +2840,7 @@ <h6>Properties</h6>
28402840

28412841
<dt class="tag-source">Source:</dt>
28422842
<dd class="tag-source"><ul class="dummy"><li>
2843-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line498">line 498</a>
2843+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line503">line 503</a>
28442844
</li></ul></dd>
28452845

28462846

@@ -3074,7 +3074,7 @@ <h5>Parameters:</h5>
30743074

30753075
<dt class="tag-source">Source:</dt>
30763076
<dd class="tag-source"><ul class="dummy"><li>
3077-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line531">line 531</a>
3077+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line537">line 537</a>
30783078
</li></ul></dd>
30793079

30803080

@@ -3238,7 +3238,7 @@ <h5>Parameters:</h5>
32383238

32393239
<dt class="tag-source">Source:</dt>
32403240
<dd class="tag-source"><ul class="dummy"><li>
3241-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line639">line 639</a>
3241+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line645">line 645</a>
32423242
</li></ul></dd>
32433243

32443244

@@ -3380,7 +3380,7 @@ <h5>Parameters:</h5>
33803380

33813381
<dt class="tag-source">Source:</dt>
33823382
<dd class="tag-source"><ul class="dummy"><li>
3383-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line650">line 650</a>
3383+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line656">line 656</a>
33843384
</li></ul></dd>
33853385

33863386

@@ -3592,7 +3592,7 @@ <h5>Parameters:</h5>
35923592

35933593
<dt class="tag-source">Source:</dt>
35943594
<dd class="tag-source"><ul class="dummy"><li>
3595-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line553">line 553</a>
3595+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line559">line 559</a>
35963596
</li></ul></dd>
35973597

35983598

@@ -3671,7 +3671,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
36713671
<br class="clear">
36723672

36733673
<footer>
3674-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
3674+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
36753675
</footer>
36763676

36773677
<script> prettyPrint(); </script>

docs/module-session-client.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ <h5>Parameters:</h5>
560560

561561
<dt class="tag-source">Source:</dt>
562562
<dd class="tag-source"><ul class="dummy"><li>
563-
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line348">line 348</a>
563+
<a href="session-client.js.html">session-client.js</a>, <a href="session-client.js.html#line349">line 349</a>
564564
</li></ul></dd>
565565

566566

@@ -747,7 +747,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
747747
<br class="clear">
748748

749749
<footer>
750-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
750+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
751751
</footer>
752752

753753
<script> prettyPrint(); </script>

docs/session-client.js.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ <h1 class="page-title">Source: session-client.js</h1>
284284
// separate out simple messages to make it easier
285285
if (msg.dataMessage &amp;&amp; (msg.dataMessage.body || msg.dataMessage.attachments)) {
286286
// maybe there will be something here...
287-
//console.log('pool dataMessage', msg)
287+
//console.log('pool dataMessage', msg.dataMessage)
288+
//console.log('DM attachments', msg.dataMessage.attachments)
288289
// skip session resets
289290
// desktop: msg.dataMessage.body === 'TERMINATE' &amp;&amp;
290291
if (!(msg.flags === 1)) { // END_SESSION
@@ -466,7 +467,11 @@ <h1 class="page-title">Source: session-client.js</h1>
466467
* @return {Promise&lt;Object>} returns an attachmentPointer
467468
*/
468469
async makeImageAttachment(data) {
469-
return attachemntUtils.uploadEncryptedAttachment(this.homeServer, data)
470+
if (data === undefined) {
471+
console.trace('SessionClient::makeImageAttachment - params passed is undefined')
472+
return
473+
}
474+
return attachemntUtils.uploadEncryptedAttachment(this.homeServer, this.homeServerPubKey, data)
470475
}
471476

472477
/**
@@ -535,6 +540,7 @@ <h1 class="page-title">Source: session-client.js</h1>
535540
url: this.encAvatarUrl,
536541
profileKeyBuf: this.profileKeyBuf
537542
}
543+
//console.log('session-client::send - inserting avatar info', sendOptions)
538544
}
539545
try {
540546
return this.sendLib.send(destination, this.keypair, messageTextBody, lib, sendOptions)
@@ -729,7 +735,7 @@ <h2><a href="index.html">Home</a></h2><h3>Modules</h3><ul><li><a href="module-ln
729735
<br class="clear">
730736

731737
<footer>
732-
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Fri Dec 02 2022 07:30:56 GMT+0000 (Coordinated Universal Time)
738+
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a> on Sat Jan 21 2023 00:39:15 GMT+0000 (Coordinated Universal Time)
733739
</footer>
734740

735741
<script> prettyPrint(); </script>

0 commit comments

Comments
 (0)