From e5803ae4548896ef5369632156e211ed861399a1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 5 Aug 2019 18:20:38 +0100 Subject: [PATCH] More recipients from mentions --- content.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/content.py b/content.py index be3d3fb03..a7c384a17 100644 --- a/content.py +++ b/content.py @@ -39,6 +39,9 @@ def addMentions(baseDir: str,httpPrefix: str, \ replaceFound=False for follow in following: if follow.replace('\n','')==possibleHandle: + recipientActor=httpPrefix+"://"+possibleDomain+"/users/"+possibleNickname + if recipientActor not in recipients: + recipients.append(recipientActor) replaceMentions[wordStr]="@"+possibleNickname+"" replaceFound=True break