Skip to content

Commit 2192c36

Browse files
committed
wip
1 parent 4edce9a commit 2192c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inbox/queue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ func (q *Queue) processActivity(ctx context.Context, tx *sql.Tx, log *slog.Logge
410410

411411
case ap.Update:
412412
post, ok := activity.Object.(*ap.Object)
413-
if !ok || post.ID == activity.Actor || post.ID == sender.ID {
413+
if !ok || ap.Canonical(post.ID) == ap.Canonical(activity.Actor) || ap.Canonical(post.ID) == ap.Canonical(sender.ID) {
414414
log.Debug("Ignoring unsupported Update object")
415415
return nil
416416
}

0 commit comments

Comments
 (0)