[FIX] ThreadMessagesView throwing error when subscription wasn't found (#2255)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
5cf9291fc9
commit
7d2f4afaae
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue