to is a list

merge-requests/30/head
Bob Mottram 2021-06-22 21:42:39 +01:00
parent 214511db01
commit fff61b9812
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ def postMessageToOutbox(session, translate: {},
# avoid duplicates of the message if already going
# back to the inbox of the same account
if messageJson['to'] != selfActor:
if selfActor not in messageJson['to']:
# show sent post within the inbox,
# as is the typical convention
inboxUpdateIndex(boxNameIndex, baseDir,