more prominent "messaging disabled" note

This commit is contained in:
or-else
2020-02-23 20:46:22 +03:00
parent d2647d5f0c
commit fd4cb58f0c
8 changed files with 50 additions and 46 deletions
+2
View File
@@ -232,6 +232,8 @@ class TinodeWeb extends React.Component {
const parsedNav = HashNavigation.parseUrlHash(window.location.hash);
if (token) {
this.setState({autoLogin: true});
// When reading from storage, date is returned as string.
token.expires = new Date(token.expires);
this.tinode.setAuthToken(token);