From a491892bd9e6dd1b693d7a28eca90d3c8d15ce9b Mon Sep 17 00:00:00 2001 From: glyph Date: Fri, 25 Feb 2022 10:49:37 +0200 Subject: [PATCH] assign public key id to profile context --- peach-web/src/context/sbot.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/peach-web/src/context/sbot.rs b/peach-web/src/context/sbot.rs index ab2c497..b55b78b 100644 --- a/peach-web/src/context/sbot.rs +++ b/peach-web/src/context/sbot.rs @@ -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) {