EventIndexPanel: Add a link to the download page of Riot Desktop.

This commit is contained in:
Damir Jelić 2020-01-24 11:44:56 +01:00
parent 38b1663755
commit ffe5d411db
2 changed files with 8 additions and 4 deletions

View file

@ -145,8 +145,12 @@ export default class EventIndexPanel extends React.Component {
<div>
{
_t( "Riot can't securely cache encrypted messages locally " +
"while running in a web browser. Use Riot Desktop for " +
"encrypted messages to appear in search results.",
"while running in a web browser. Use <riotLink>Riot Desktop</riotLink> " +
"for encrypted messages to appear in search results.",
{},
{
'riotLink': (sub) => <a href="https://riot.im/download/desktop">{sub}</a>,
}
)
}
</div>