projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deprecate Pleroma.Web.base_url/0
[akkoma]
/
lib
/
pleroma
/
object.ex
diff --git
a/lib/pleroma/object.ex
b/lib/pleroma/object.ex
index 4fb4ec36406fe44d6b7a5dcb83c3643782b36f28..f0e15f0f70f1f0952264cbd9e0a3018b2d5dff5e 100644
(file)
--- a/
lib/pleroma/object.ex
+++ b/
lib/pleroma/object.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Object do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Object do
@@
-325,7
+325,7
@@
defmodule Pleroma.Object do
end
def local?(%Object{data: %{"id" => id}}) do
end
def local?(%Object{data: %{"id" => id}}) do
- String.starts_with?(id, Pleroma.Web.
base_
url() <> "/")
+ String.starts_with?(id, Pleroma.Web.
Endpoint.
url() <> "/")
end
def replies(object, opts \\ []) do
end
def replies(object, opts \\ []) do