Explain setting of highlighted in room/$eventId showScreen handling.
This commit is contained in:
parent
8ddc38c9b1
commit
2e82bf40fb
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue