projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f079844
)
Fix comment grammar
author
Francis Dinh
<normandy@firemail.cc>
Wed, 25 Apr 2018 04:46:06 +0000
(
00:46
-0400)
committer
Francis Dinh
<normandy@firemail.cc>
Wed, 25 Apr 2018 04:46:06 +0000
(
00:46
-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 b6ae7c7f70f285ee01c2e1d8168eeb4b51e02ab6..5477211dc01ae6c3f0059c8687eb72af40170652 100644
(file)
--- a/
lib/pleroma/web/twitter_api/twitter_api.ex
+++ b/
lib/pleroma/web/twitter_api/twitter_api.ex
@@
-14,7
+14,7
@@
defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
def delete(%User{} = user, id) do
# TwitterAPI does not have an "unretweet" endpoint; instead this is done
- # via the "destroy" endpoint. Therefore,
there is a
need to handle
+ # via the "destroy" endpoint. Therefore,
we
need to handle
# when the status to "delete" is actually an Announce (repeat) object.
with %Activity{data: %{"type" => type}} <- Repo.get(Activity, id) do
case type do