chore: Follow up set presences

This commit is contained in:
Krille 2023-11-15 14:27:28 +01:00
parent a98a904043
commit c149503541
No known key found for this signature in database

View file

@ -420,7 +420,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
final foreground = state != AppLifecycleState.detached &&
state != AppLifecycleState.paused;
client.backgroundSync = foreground;
client.syncPresence = foreground ? null : PresenceType.unavailable;
client.requestHistoryOnLimitedTimeline = !foreground;
}