diff --git a/lib/storage/scoping_inventory.dart b/lib/storage/scoping_inventory.dart index e0627a74..8c7d2858 100644 --- a/lib/storage/scoping_inventory.dart +++ b/lib/storage/scoping_inventory.dart @@ -151,6 +151,17 @@ const List storageSurfaces = [ 'reason as channel_cyr2lat_', owner: 'lib/storage/contact_settings_store.dart', ), + StorageSurface( + 'contact_customname_', + verdict: ScopingVerdict.perRadio, + reason: + 'prefix + device key + contact key, via keyForCustomName. The user\'s ' + 'own label for a contact (#750). Per-radio for the same reason as its ' + 'neighbour in this store. Deliberately NOT in contact_store: that ' + 'record is rebuilt from radio contact-sync data, where no custom name ' + 'exists, so a save after a sync would wipe the rename', + owner: 'lib/storage/contact_settings_store.dart', + ), StorageSurface( 'block_keys_v1', verdict: ScopingVerdict.perRadio, diff --git a/test/storage/radio_isolation_matrix_test.dart b/test/storage/radio_isolation_matrix_test.dart index e98d9cdc..f227726c 100644 --- a/test/storage/radio_isolation_matrix_test.dart +++ b/test/storage/radio_isolation_matrix_test.dart @@ -57,7 +57,7 @@ void main() { Contact contact(String name) => Contact( publicKey: Uint8List.fromList(List.filled(32, 7)), - name: name, + receivedName: name, type: 1, pathLength: 0, path: Uint8List(0),