projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42279f5
)
Remove unretweet function for now
author
Francis Dinh
<normandy@firemail.cc>
Tue, 17 Apr 2018 08:12:16 +0000
(
04:12
-0400)
committer
Francis Dinh
<normandy@firemail.cc>
Tue, 17 Apr 2018 08:12:16 +0000
(
04:12
-0400)
lib/pleroma/web/twitter_api/twitter_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/twitter_api/twitter_api.ex
b/lib/pleroma/web/twitter_api/twitter_api.ex
index 1791feb3adbe25b6465a1c8e8f0ac8f8f086a198..c12cd7f8aa14a8912e89b69e04609a9e31897b38 100644
(file)
--- a/
lib/pleroma/web/twitter_api/twitter_api.ex
+++ b/
lib/pleroma/web/twitter_api/twitter_api.ex
@@
-64,13
+64,6
@@
defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
end
end
- def unrepeat(%User{} = user, ap_id_or_id) do
- with {:ok, _announce, %{data: %{"id" => id}}} = CommonAPI.unrepeat(ap_id_or_id, user),
- %Activity{} = activity <- Activity.get_create_activity_by_object_ap_id(id) do
- {:ok, activity}
- end
- end
-
def fav(%User{} = user, ap_id_or_id) do
with {:ok, _announce, %{data: %{"id" => id}}} = CommonAPI.favorite(ap_id_or_id, user),
%Activity{} = activity <- Activity.get_create_activity_by_object_ap_id(id) do