1
0
Fork 0
forked from alemi/upub

fix: ld_context in dispatcher again

This commit is contained in:
əlemi 2024-05-02 15:21:45 +02:00
parent df072d8cc6
commit 583ddce914
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -76,7 +76,7 @@ async fn worker(db: DatabaseConnection, domain: String, poll_interval: u64, mut
.one(&db)
.await? // TODO probably should not fail here and at least re-insert the delivery
{
Some((activity, None)) => activity.ap(),
Some((activity, None)) => activity.ap().ld_context(),
Some((activity, Some(object))) => {
let always_embed = matches!(
activity.activity_type,