Homewrite.as

Fix suspension check in fetchPost()

Authored by matt on Tue, Nov 19, 12:59 AM.

Description

Fix suspension check in fetchPost()

Previously, this check would return a "user not found" error when
retrieving a collection post by its post ID, e.g. /api/posts/abc123
instead of /api/collections/demo/posts/my-slug -- this happens
particularly when Announceing a post in the fediverse. This change
fixes that.

Details

Committed
mattTue, Nov 19, 12:59 AM
Parents
rWFbd99044e9c92: Fix 500 on tags page
Branches
Unknown
Tags
Unknown
References
refs/pull/212/head