Dedup the cc of new note before storage
This commit is contained in:
parent
b4d44294e2
commit
c17a9a5a0c
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -1122,7 +1122,7 @@ def api_new_note():
|
|||
cc.append(tag['href'])
|
||||
|
||||
note = activitypub.Note(
|
||||
cc=cc,
|
||||
cc=list(set(cc)),
|
||||
to=[to if to else config.AS_PUBLIC],
|
||||
content=content,
|
||||
tag=tags,
|
||||
|
|
Loading…
Reference in a new issue