mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-18 07:32:50 +00:00
Fix status.expires_at
type
This commit is contained in:
parent
962eb8d4ac
commit
2ef70b55f5
1 changed files with 4 additions and 2 deletions
|
@ -175,9 +175,11 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||
|
||||
expires_at =
|
||||
with true <- client_posted_this_activity,
|
||||
expiration when not is_nil(expiration) <-
|
||||
%ActivityExpiration{scheduled_at: scheduled_at} <-
|
||||
ActivityExpiration.get_by_activity_id(activity.id) do
|
||||
expiration.scheduled_at
|
||||
scheduled_at
|
||||
else
|
||||
_ -> nil
|
||||
end
|
||||
|
||||
thread_muted? =
|
||||
|
|
Loading…
Reference in a new issue