Clarify doc for highlighted

pull/21833/head
Luke Barnard 2017-06-08 17:57:37 +01:00
parent 9892566007
commit 5588e115eb
1 changed files with 3 additions and 1 deletions

View File

@ -1119,7 +1119,9 @@ module.exports = React.createClass({
const payload = {
action: 'view_room',
event_id: eventId,
// If an event ID is set (truthy), mark it as highlighted
// If an event ID is given in the URL hash, notify RoomViewStore to mark
// it as highlighted, which will propagate to RoomView and highlight the
// associated EventTile.
highlighted: Boolean(eventId),
third_party_invite: thirdPartyInvite,
oob_data: oobData,