diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/profile/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/profile/mod.rs b/src/profile/mod.rs index 440ef23..e82a939 100644 --- a/src/profile/mod.rs +++ b/src/profile/mod.rs @@ -57,6 +57,10 @@ impl Profile { Ok(Profile { state, client }) } + pub fn head(&self) -> &cid::Cid { + self.state.profile_head() + } + async fn post_hello_world(client: &Client, name: &str) -> Result<cid::Cid> { let text = format!("Hello world, I am {}", name); client.post_text_node(vec![], text).await |