chore: Follow up set presences
This commit is contained in:
parent
a98a904043
commit
c149503541
1 changed files with 0 additions and 1 deletions
|
|
@ -420,7 +420,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||||
final foreground = state != AppLifecycleState.detached &&
|
final foreground = state != AppLifecycleState.detached &&
|
||||||
state != AppLifecycleState.paused;
|
state != AppLifecycleState.paused;
|
||||||
client.backgroundSync = foreground;
|
client.backgroundSync = foreground;
|
||||||
client.syncPresence = foreground ? null : PresenceType.unavailable;
|
|
||||||
client.requestHistoryOnLimitedTimeline = !foreground;
|
client.requestHistoryOnLimitedTimeline = !foreground;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue