More work on post visibility
This commit is contained in:
parent
866979309c
commit
8e977a2b14
9 changed files with 59 additions and 38 deletions
|
@ -104,4 +104,5 @@ class _1_MetaMigrationt(Migration):
|
|||
set_meta["meta.server"] = urlparse(data["remote_id"]).netloc
|
||||
|
||||
logger.info(f"meta={set_meta}\n")
|
||||
DB.activities.update_one({"_id": data["_id"]}, {"$set": set_meta})
|
||||
if set_meta:
|
||||
DB.activities.update_one({"_id": data["_id"]}, {"$set": set_meta})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue