Compare commits

..

No commits in common. "b6a17184eb581c67b6c41c6a73efa54ba4c27ad9" and "5a57fd69b9a66ac457252448b22a5283e5063df4" have entirely different histories.

2 changed files with 0 additions and 2 deletions

View file

@ -99,7 +99,6 @@ impl<T : super::Base> Node<T> {
}
/// returns id of object: url for link, id for object, None if empty or array
// TODO return Option<&str> and avoid inner clone
pub fn id(&self) -> Option<String> {
match self {
Node::Empty => None,

View file

@ -115,7 +115,6 @@ where
// TODO assert payload's digest is equal to signature's
let user_id = http_signature.key_id
.replace("/main-key", "") // gotosocial whyyyyy
.split('#')
.next().ok_or(UpubError::bad_request())?
.to_string();