matrixsynapse: Rename Riot to Element

- Add link to iOS app.

- Update the F-Droid/Android app IDs

Closes: #1918.

Tests:

- View the matrixsyanpse app page. See the list of the clients and visit the
URLs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
This commit is contained in:
Sunil Mohan Adapa 2020-08-20 11:26:41 -07:00 committed by Joseph Nuthalapati
parent 296c136d94
commit 10544b4386
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35
2 changed files with 15 additions and 10 deletions

View File

@ -40,8 +40,8 @@ _description = [
'servers via federation.'),
_('To communicate, you can use the '
'<a href="https://matrix.org/docs/projects/">available clients</a> '
'for mobile, desktop and the web. <a href="https://riot.im/">Riot</a> '
'client is recommended.')
'for mobile, desktop and the web. '
'<a href="https://element.io/">Element</a> client is recommended.')
]
port_forwarding_info = [('TCP', 8448)]

View File

@ -2,15 +2,15 @@
from django.utils.translation import ugettext_lazy as _
from plinth.modules.backups.api import validate as validate_backup
from plinth.clients import store_url, validate
from plinth.modules.backups.api import validate as validate_backup
_android_package_id = 'im.vector.alpha'
_riot_desktop_download_url = 'https://riot.im/desktop.html'
_android_package_id = 'im.vector.app'
_element_desktop_download_url = 'https://element.io/get-started'
clients = validate([{
'name':
_('Riot'),
_('Element'),
'platforms': [{
'type': 'store',
'os': 'android',
@ -21,21 +21,26 @@ clients = validate([{
'os': 'android',
'store_name': 'f-droid',
'url': store_url('f-droid', _android_package_id)
}, {
'type': 'store',
'os': 'ios',
'store_name': 'app-store',
'url': 'https://apps.apple.com/app/vector/id1083446067'
}, {
'type': 'web',
'url': 'https://riot.im/app/#/home'
'url': 'https://app.element.io/'
}, {
'type': 'download',
'os': 'gnu-linux',
'url': _riot_desktop_download_url,
'url': _element_desktop_download_url,
}, {
'type': 'download',
'os': 'macos',
'url': _riot_desktop_download_url,
'url': _element_desktop_download_url,
}, {
'type': 'download',
'os': 'windows',
'url': _riot_desktop_download_url,
'url': _element_desktop_download_url,
}]
}])