Accept Undo Follow from already unfollowed actor

This commit is contained in:
asonix
2020-03-21 16:01:54 -05:00
parent 5a49c1f10c
commit 13ce219d76
3 changed files with 29 additions and 5 deletions
+2
View File
@@ -24,6 +24,7 @@ pub enum UrlKind {
Followers,
Following,
Inbox,
Index,
MainKey,
NodeInfo,
Outbox,
@@ -117,6 +118,7 @@ impl Config {
UrlKind::Followers => format!("{}://{}/followers", scheme, self.hostname),
UrlKind::Following => format!("{}://{}/following", scheme, self.hostname),
UrlKind::Inbox => format!("{}://{}/inbox", scheme, self.hostname),
UrlKind::Index => format!("{}://{}/", scheme, self.hostname),
UrlKind::MainKey => format!("{}://{}/actor#main-key", scheme, self.hostname),
UrlKind::NodeInfo => format!("{}://{}/nodeinfo/2.0.json", scheme, self.hostname),
UrlKind::Outbox => format!("{}://{}/outbox", scheme, self.hostname),