projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add link verification in profile fields (#405)
[akkoma]
/
lib
/
pleroma
/
web
/
embed_controller.ex
diff --git
a/lib/pleroma/web/embed_controller.ex
b/lib/pleroma/web/embed_controller.ex
index f6b8a5ee15cffc58d539c98e6aaf3473b031257a..c7912bb1fb6ec569d19d919096a2cb58a600d60a 100644
(file)
--- a/
lib/pleroma/web/embed_controller.ex
+++ b/
lib/pleroma/web/embed_controller.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.Web.EmbedController do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.EmbedController do
@@
-31,7
+31,7
@@
defmodule Pleroma.Web.EmbedController do
end
defp get_counts(%Activity{} = activity) do
end
defp get_counts(%Activity{} = activity) do
- %Object{data: data} = Object.normalize(activity)
+ %Object{data: data} = Object.normalize(activity
, fetch: false
)
%{
likes: Map.get(data, "like_count", 0),
%{
likes: Map.get(data, "like_count", 0),