Compare commits
No commits in common. "b6a17184eb581c67b6c41c6a73efa54ba4c27ad9" and "5a57fd69b9a66ac457252448b22a5283e5063df4" have entirely different histories.
b6a17184eb
...
5a57fd69b9
2 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue