check isDisableAccount and isDisableAb before pull ab / group

This commit is contained in:
rustdesk
2024-03-25 20:14:34 +08:00
parent 49f717fcf8
commit 3dc6e576df
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class UserModel {
UserModel(this.parent);
void refreshCurrentUser() async {
if (bind.isDisableAccount()) return;
final token = bind.mainGetLocalOption(key: 'access_token');
if (token == '') {
await updateOtherModels();