From 8623be69392fec52ae1894f01b8b8a5bd6432948 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 8 May 2021 16:16:58 +0100 Subject: [PATCH] Locating announce --- daemon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.py b/daemon.py index 700d26a9d..e9746cdfa 100644 --- a/daemon.py +++ b/daemon.py @@ -6309,7 +6309,7 @@ class PubServer(BaseHTTPRequestHandler): postFilename = None nickname = getNicknameFromActor(announceUrl) if nickname: - if announceUrl.endswith(domainFull + '/users/' + nickname): + if domainFull + '/users/' + nickname + '/' in announceUrl: postFilename = \ locatePost(baseDir, nickname, domain, announceUrl) if postFilename: