[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 Diego Mello
parent 5cf9291fc9
commit 7d2f4afaae
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
init = () => {
if (!this.subscription) {
this.load();
return this.load();
}
try {
const lastThreadSync = new Date();