mirror of https://github.com/vector-im/riot-web
Explain setting of highlighted in room/$eventId showScreen handling.
parent
8ddc38c9b1
commit
2e82bf40fb
|
@ -1118,6 +1118,7 @@ module.exports = React.createClass({
|
||||||
const payload = {
|
const payload = {
|
||||||
action: 'view_room',
|
action: 'view_room',
|
||||||
event_id: eventId,
|
event_id: eventId,
|
||||||
|
// If an event ID is set (truthy), mark it as highlighted
|
||||||
highlighted: Boolean(eventId),
|
highlighted: Boolean(eventId),
|
||||||
third_party_invite: thirdPartyInvite,
|
third_party_invite: thirdPartyInvite,
|
||||||
oob_data: oobData,
|
oob_data: oobData,
|
||||||
|
|
Loading…
Reference in New Issue