diff options
author | enahum <nahumhbl@gmail.com> | 2017-03-13 06:57:32 -0300 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-03-13 09:57:32 +0000 |
commit | a8524b648eb5266df0c2c05995dd90d0500e7b49 (patch) | |
tree | 0648c374d3f5c9efffb8937363d50c1ebe5879e6 /webapp | |
parent | 06a7c3ba8e054237c44e8b1586c76d00c1cffb67 (diff) | |
download | chat-a8524b648eb5266df0c2c05995dd90d0500e7b49.tar.gz chat-a8524b648eb5266df0c2c05995dd90d0500e7b49.tar.bz2 chat-a8524b648eb5266df0c2c05995dd90d0500e7b49.zip |
Report correct session for React Native app (#5734)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/activity_log_modal.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/activity_log_modal.jsx b/webapp/components/activity_log_modal.jsx index aeebb56ae..05c09ab88 100644 --- a/webapp/components/activity_log_modal.jsx +++ b/webapp/components/activity_log_modal.jsx @@ -102,7 +102,7 @@ export default class ActivityLogModal extends React.Component { if (currentSession.props.platform === 'Windows') { devicePicture = 'fa fa-windows'; - } else if (currentSession.device_id && currentSession.device_id.indexOf('apple:') === 0) { + } else if (currentSession.device_id && currentSession.device_id.indexOf('apple') === 0) { devicePicture = 'fa fa-apple'; devicePlatform = ( <FormattedMessage @@ -110,7 +110,7 @@ export default class ActivityLogModal extends React.Component { defaultMessage='iPhone Native App' /> ); - } else if (currentSession.device_id && currentSession.device_id.indexOf('android:') === 0) { + } else if (currentSession.device_id && currentSession.device_id.indexOf('android') === 0) { devicePlatform = ( <FormattedMessage id='activity_log_modal.androidNativeApp' |