chore: don't auto-request activity summary if last request caused error (#3735)
This commit is contained in:
parent
6b15e45fa8
commit
a43c5ffac5
1 changed files with 3 additions and 3 deletions
|
|
@ -52,9 +52,9 @@ class LoadActivitySummaryWidgetState extends State<LoadActivitySummaryWidget> {
|
|||
return;
|
||||
}
|
||||
|
||||
// The summary state event has an error (or > 10 seconds since request)
|
||||
// Re-run immediately
|
||||
await widget.room.fetchSummaries();
|
||||
if (_summaryEvent!.errorAt == null) {
|
||||
await widget.room.fetchSummaries();
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue