[FIX] ThreadMessagesView throwing error when subscription wasn't found (#2255)

Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
Djorkaeff Alexandre 2020-07-08 13:50:07 -03:00 committed by GitHub
parent e1153deb57
commit ef68f1644a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ class ThreadMessagesView extends React.Component {
// eslint-disable-next-line react/sort-comp // eslint-disable-next-line react/sort-comp
init = () => { init = () => {
if (!this.subscription) { if (!this.subscription) {
this.load(); return this.load();
} }
try { try {
const lastThreadSync = new Date(); const lastThreadSync = new Date();