From f17ab7d8cc6e97bb8b8f578995260058242b8ae4 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Aug 2019 21:39:12 +0100 Subject: [PATCH] Simplify webfinger --- webfinger.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/webfinger.py b/webfinger.py index 67122a23..7d2d06dd 100644 --- a/webfinger.py +++ b/webfinger.py @@ -127,20 +127,11 @@ def createWebfingerEndpoint(nickname: str,domain: str,port: int, \ "rel": "http://webfinger.net/rel/profile-page", "type": "text/html" }, - { - "href": personId+".atom", - "rel": "http://schemas.google.com/g/2010#updates-from", - "type": "application/atom+xml" - }, { "href": personId, "rel": "self", "type": "application/activity+json" }, - { - "href": httpPrefix+"://"+domain+"/api/salmon/1", - "rel": "salmon" - }, { "href": generateMagicKey(publicKeyPem), "rel": "magic-public-key"