Use context_ids directly if we have them.
This commit is contained in:
parent
bc31bee7c4
commit
360c51f1f5
3 changed files with 6 additions and 12 deletions
|
|
@ -212,6 +212,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
|
|||
DateTime.utc_now() |> DateTime.to_iso8601()
|
||||
end
|
||||
|
||||
# DEPRECATED mostly, context objects are now created at insertion time.
|
||||
def context_to_conversation_id(context) do
|
||||
with %Object{id: id} <- Object.get_cached_by_ap_id(context) do
|
||||
id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue