forked from alemi/upub
fix: ld_context in dispatcher again
This commit is contained in:
parent
df072d8cc6
commit
583ddce914
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ async fn worker(db: DatabaseConnection, domain: String, poll_interval: u64, mut
|
||||||
.one(&db)
|
.one(&db)
|
||||||
.await? // TODO probably should not fail here and at least re-insert the delivery
|
.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))) => {
|
Some((activity, Some(object))) => {
|
||||||
let always_embed = matches!(
|
let always_embed = matches!(
|
||||||
activity.activity_type,
|
activity.activity_type,
|
||||||
|
|
Loading…
Reference in a new issue