ActivityPub / Transmogrifier: Correctly store incoming Update id.

This commit is contained in:
lain 2019-10-05 14:49:45 +02:00
commit 4b8524f392
4 changed files with 9 additions and 4 deletions

View file

@ -739,6 +739,6 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|> Repo.all()
end
defp maybe_put(map, _key, nil), do: map
defp maybe_put(map, key, value), do: Map.put(map, key, value)
def maybe_put(map, _key, nil), do: map
def maybe_put(map, key, value), do: Map.put(map, key, value)
end