Explain setting of highlighted in room/$eventId showScreen handling.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user