Explain setting of highlighted in room/$eventId showScreen handling.

pull/21833/head
Luke Barnard 2017-06-08 15:34:20 +01:00
parent 8ddc38c9b1
commit 2e82bf40fb
1 changed files with 1 additions and 0 deletions

View File

@ -1118,6 +1118,7 @@ module.exports = React.createClass({
const payload = {
action: 'view_room',
event_id: eventId,
// If an event ID is set (truthy), mark it as highlighted
highlighted: Boolean(eventId),
third_party_invite: thirdPartyInvite,
oob_data: oobData,