[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
|
// 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();
|
||||||
|
|
Loading…
Reference in New Issue