X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapub%2Fsrc%2Ffetcher%2Fuser_or_community.rs;h=00612cbbce9828e31aaa708b0195a8c6f2ec229c;hb=05d43150bcc81a3403fe08e6c9a2d74de4eca9b4;hp=08138964c89a6f8f8c89c617c5fb154903a4f4b5;hpb=209829e1f325867dc467045a6fdd6d176b1118d1;p=lemmy.git diff --git a/crates/apub/src/fetcher/user_or_community.rs b/crates/apub/src/fetcher/user_or_community.rs index 08138964..00612cbb 100644 --- a/crates/apub/src/fetcher/user_or_community.rs +++ b/crates/apub/src/fetcher/user_or_community.rs @@ -103,7 +103,7 @@ impl ActorType for UserOrCommunity { } } - fn public_key(&self) -> Option { + fn public_key(&self) -> String { match self { UserOrCommunity::User(p) => p.public_key(), UserOrCommunity::Community(p) => p.public_key(),