[FIX] ThreadMessagesView throwing error when subscription wasn't found (#2255)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
This commit is contained in:
parent
e1153deb57
commit
ef68f1644a
|
@ -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