assign public key id to profile context

This commit is contained in:
glyph 2022-02-25 10:49:37 +02:00
parent 02a1078ece
commit a491892bd9
1 changed files with 4 additions and 0 deletions

View File

@ -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`
if let Some(ref blob_id) = context.image {
context.blob_path = match blobs::get_blob_path(&blob_id) {