summaryrefslogtreecommitdiffstats
path: root/server/src/api/comment.rs
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-06-26 21:12:41 -0400
committerDessalines <tyhou13@gmx.com>2020-06-26 21:12:41 -0400
commit86dc50f9f0f6ea98273eb3845d5486d2fad8c1ff (patch)
tree7925b5768db7fd7c53115d99a40d6bdf638c27ef /server/src/api/comment.rs
parent7d1c6e9a402c14833b94cd33f7f170ffcbc820ed (diff)
Some fixes to federation.
- Advanced code migrations now disable then re-enable triggers. Brings run time down to < 15 seconds, no need to thread them. - Changing ap_ids and actor_ids in migrations to a fake url, so it doesn't break XsdAnyUri in activitystreams.
Diffstat (limited to 'server/src/api/comment.rs')
-rw-r--r--server/src/api/comment.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/comment.rs b/server/src/api/comment.rs
index 369cba5c..56217458 100644
--- a/server/src/api/comment.rs
+++ b/server/src/api/comment.rs
@@ -140,7 +140,7 @@ impl Perform for Oper<CreateComment> {
read: None,
published: None,
updated: None,
- ap_id: "changeme".into(),
+ ap_id: "http://fake.com".into(),
local: true,
};