Changeset View
Changeset View
Standalone View
Standalone View
services/commtest/src/identity/device.rs
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | device_key_upload: Some(DeviceKeyUpload { | ||||
notif_upload: Some(Prekey { | notif_upload: Some(Prekey { | ||||
prekey: "notif_prekey".to_string(), | prekey: "notif_prekey".to_string(), | ||||
prekey_signature: "notif_prekey_sig".to_string(), | prekey_signature: "notif_prekey_sig".to_string(), | ||||
}), | }), | ||||
one_time_content_prekeys: Vec::new(), | one_time_content_prekeys: Vec::new(), | ||||
one_time_notif_prekeys: Vec::new(), | one_time_notif_prekeys: Vec::new(), | ||||
device_type: device_type.into(), | device_type: device_type.into(), | ||||
}), | }), | ||||
farcaster_id: None, | |||||
}; | }; | ||||
let mut identity_client = get_unauthenticated_client( | let mut identity_client = get_unauthenticated_client( | ||||
&service_addr::IDENTITY_GRPC.to_string(), | &service_addr::IDENTITY_GRPC.to_string(), | ||||
PLACEHOLDER_CODE_VERSION, | PLACEHOLDER_CODE_VERSION, | ||||
DEVICE_TYPE.to_string(), | DEVICE_TYPE.to_string(), | ||||
) | ) | ||||
.await | .await | ||||
▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines |