Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Addressing comment on readTimestamps #88

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 12 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1961,10 +1961,12 @@ <h2><a>ReadReport</a> Interface</h2>
recipients to which the MMS message was sent.
</dd>
<dt>readonly attribute Date[]? readTimestamps</dt>
<dd>MUST return an array containing the read dates by each of the
recipients to which this read report event relates. Each element in the
array refers to the recipient in the same position of the
<code>recipients</code> array.
<dd>MUST return an array containing the read dates, or null if no read date
is provided, for each of the recipients to which this read report event
relates. Each element in the array refers to the recipient in the same
position of the <code>recipients</code> array. It MUST return null when no
read date is provided for any of the recipients to which this read report
event relates.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the last sentence, why not just:

[null, null,... , null]

I don't have strong opinion, though. Just thinking it's possible to drop the last sentence. It's up to you.

</dd>
</dl>
</section>
Expand Down Expand Up @@ -2038,10 +2040,12 @@ <h2><a>ReadReportEvent</a> Interface</h2>
recipients to which the MMS message was sent.
</dd>
<dt>readonly attribute Date[]? readTimestamps</dt>
<dd>MUST return an array containing the read dates for each of the
recipients to which this read report event relates. Each element in the
array refers to the recipient in the same position of the
<code>recipients</code> array.
<dd>MUST return an array containing the read dates, or null if no read date
is provided, for each of the recipients to which this read report event
relates. Each element in the array refers to the recipient in the same
position of the <code>recipients</code> array. It MUST return null when no
read date is provided for any of the recipients to which this read report
event relates.
</dd>
</dl>
</section>
Expand Down