diff --git a/src/snapshot_middleware/json_model.rs b/src/snapshot_middleware/json_model.rs index 9ec85da47..c176066c3 100644 --- a/src/snapshot_middleware/json_model.rs +++ b/src/snapshot_middleware/json_model.rs @@ -102,7 +102,7 @@ fn json_model_from_pair<'sync>( for (attr_name, attr_value) in attrs.iter() { // We (probably) don't want to preserve internal attributes, // only user defined ones. - if attr_name.starts_with("RBX_") { + if attr_name.starts_with("RBX") { continue; } attributes.insert( diff --git a/src/snapshot_middleware/meta_file.rs b/src/snapshot_middleware/meta_file.rs index 08034d7c5..3004ad2aa 100644 --- a/src/snapshot_middleware/meta_file.rs +++ b/src/snapshot_middleware/meta_file.rs @@ -87,7 +87,7 @@ impl AdjacentMetadata { for (attr_name, attr_value) in attrs.iter() { // We (probably) don't want to preserve internal // attributes, only user defined ones. - if attr_name.starts_with("RBX_") { + if attr_name.starts_with("RBX") { continue; } attributes.insert( @@ -273,7 +273,7 @@ impl DirectoryMetadata { for (name, value) in attrs.iter() { // We (probably) don't want to preserve internal // attributes, only user defined ones. - if name.starts_with("RBX_") { + if name.starts_with("RBX") { continue; } attributes.insert( diff --git a/src/snapshot_middleware/project.rs b/src/snapshot_middleware/project.rs index 011dc92dd..0cd0e3599 100644 --- a/src/snapshot_middleware/project.rs +++ b/src/snapshot_middleware/project.rs @@ -539,7 +539,7 @@ fn project_node_property_syncback<'inst>( for (attr_name, attr_value) in attrs.iter() { // We (probably) don't want to preserve internal attributes, // only user defined ones. - if attr_name.starts_with("RBX_") { + if attr_name.starts_with("RBX") { continue; } attributes.insert(