assign public key id to profile context
This commit is contained in:
parent
02a1078ece
commit
a491892bd9
|
@ -103,6 +103,10 @@ impl ProfileContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// assign the ssb public key to the context
|
||||||
|
// (could be for the local profile or a peer)
|
||||||
|
context.id = Some(id);
|
||||||
|
|
||||||
// determine the path to the blob defined by the value of `context.image`
|
// determine the path to the blob defined by the value of `context.image`
|
||||||
if let Some(ref blob_id) = context.image {
|
if let Some(ref blob_id) = context.image {
|
||||||
context.blob_path = match blobs::get_blob_path(&blob_id) {
|
context.blob_path = match blobs::get_blob_path(&blob_id) {
|
||||||
|
|
Loading…
Reference in New Issue