Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

21pages
Copy link
Collaborator

@21pages 21pages commented May 29, 2025

The error message is "Retrieving accessible devices is disabled."

before:
1748508224257

after:
1748509417203

@21pages 21pages requested a review from Copilot May 29, 2025 08:49
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request implements functionality to clear the accessible devices tab when the error "Retrieving accessible devices is disabled." is encountered during a pull.

  • Adds a call to _tryHandlePullError immediately after performing the pull
  • Introduces a new method _tryHandlePullError that clears users, peers, and deviceGroups based on the error message
Comments suppressed due to low confidence (1)

flutter/lib/models/group_model.dart:367

  • Consider using a structured error object or error code for error handling rather than relying on substring matching of error messages. This can improve reliability and clarity in determining when to clear the device lists.
String errorMessage = groupLoadError.value;

flutter/lib/models/group_model.dart Show resolved Hide resolved
@21pages 21pages force-pushed the disable_retrieve_accessible branch from 11f1248 to 4bbab54 Compare May 29, 2025 08:56
…s disabled

Signed-off-by: 21pages <sunboeasy@gmail.com>
@21pages 21pages force-pushed the disable_retrieve_accessible branch from 4bbab54 to e2ed4d1 Compare May 29, 2025 09:04
@rustdesk rustdesk merged commit ec0456e into rustdesk:master May 29, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.