projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Broadcast conversation update when DM is deleted
[akkoma]
/
lib
/
pleroma
/
object
/
fetcher.ex
diff --git
a/lib/pleroma/object/fetcher.ex
b/lib/pleroma/object/fetcher.ex
index f7d724668034df8064b8bf21d0afa3496d39efeb..c422490ac4ae922399589d7ee842e5eb21a4a434 100644
(file)
--- a/
lib/pleroma/object/fetcher.ex
+++ b/
lib/pleroma/object/fetcher.ex
@@
-85,7
+85,7
@@
defmodule Pleroma.Object.Fetcher do
:ok <- Containment.contain_origin_from_id(id, data) do
{:ok, data}
else
- {:ok, %{status:
410}}
->
+ {:ok, %{status:
code}} when code in [404, 410]
->
{:error, "Object has been deleted"}
e ->