diff --git a/utils.py b/utils.py index 23c3ebe8..ed86d73b 100644 --- a/utils.py +++ b/utils.py @@ -246,7 +246,7 @@ def locatePost(baseDir: str,nickname: str,domain: str,postUrl: str,replies=False # if this post in the shared inbox? handle='inbox@'+domain boxName='inbox' - postUrl=postUrl.replace('/','#') + postUrl=postUrl.replace('/','#').replace('/activity','') postFilename=baseDir+'/accounts/'+nickname+'@'+domain+'/'+boxName+'/'+postUrl+'.'+extension if not os.path.isfile(postFilename): boxName='outbox'