diff options
Diffstat (limited to 'src/client/shell/state.rs')
| -rw-r--r-- | src/client/shell/state.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/shell/state.rs b/src/client/shell/state.rs index 60afc3df..9507797d 100644 --- a/src/client/shell/state.rs +++ b/src/client/shell/state.rs @@ -1304,11 +1304,11 @@ impl ClientShellState { snapshot .commands .retain(|command| command.action != crate::protocol::ClientShellCommandAction::Unknown); - let graphics_scope = format!( - "{}:{}", - self.active_endpoint_id.storage_key(), - snapshot.boot_id - ); + let graphics_scope = match &self.active_endpoint_id { + // Local direct uploads use image IDs authored by the server from its boot ID. + ClientEndpointId::Local => snapshot.boot_id.clone(), + endpoint_id => format!("{}:{}", endpoint_id.storage_key(), snapshot.boot_id), + }; let endpoint_boot_changed = self.snapshot.is_some() && self.graphics.scope() != graphics_scope; if !endpoint_boot_changed |
