mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-10 16:33:47 +00:00
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 &&
|
||||
state != AppLifecycleState.paused;
|
||||
client.backgroundSync = foreground;
|
||||
client.syncPresence = foreground ? null : PresenceType.unavailable;
|
||||
client.requestHistoryOnLimitedTimeline = !foreground;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue