Remove error for refresh, not necessary (#4034)
parent
bf7b66d5c1
commit
3674c8abce
|
@ -517,17 +517,6 @@ export class Convo {
|
||||||
this.recipients = recipients || this.recipients
|
this.recipients = recipients || this.recipients
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
logger.error(e, {context: `Convo: failed to refresh convo`})
|
logger.error(e, {context: `Convo: failed to refresh convo`})
|
||||||
|
|
||||||
this.footerItems.set(ConvoItemError.Network, {
|
|
||||||
type: 'error-recoverable',
|
|
||||||
key: ConvoItemError.Network,
|
|
||||||
code: ConvoItemError.Network,
|
|
||||||
retry: () => {
|
|
||||||
this.footerItems.delete(ConvoItemError.Network)
|
|
||||||
this.resume()
|
|
||||||
},
|
|
||||||
})
|
|
||||||
this.commit()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue