to is a list

This commit is contained in:
bashrc committed 2021-06-22 21:42:39 +01:00
1 parent 214511db01
commit fff61b9812
1 file changed
+1 -1
+1 -1
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,