projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042cdf0
)
save correct inReplyToStatusId.
author
Roger Braun
<roger@rogerbraun.net>
Thu, 18 May 2017 15:03:21 +0000
(17:03 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Thu, 18 May 2017 15:03:21 +0000
(17:03 +0200)
lib/pleroma/web/ostatus/ostatus.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/ostatus/ostatus.ex
b/lib/pleroma/web/ostatus/ostatus.ex
index a709dac4ea2a6248fc2b3e214736908c8b45c69d..222e18350d9bf16ec314169a72480186da9f09b4 100644
(file)
--- a/
lib/pleroma/web/ostatus/ostatus.ex
+++ b/
lib/pleroma/web/ostatus/ostatus.ex
@@
-196,11
+196,11
@@
defmodule Pleroma.Web.OStatus do
}
object = if inReplyTo do
- replied_to_
object = Object.get_cached_by
_ap_id(inReplyTo)
- if replied_to_
object
do
+ replied_to_
activity = Activity.get_create_activity_by_object
_ap_id(inReplyTo)
+ if replied_to_
activity
do
object
|> Map.put("inReplyTo", inReplyTo)
- |> Map.put("inReplyToStatusId", replied_to_
object
.id)
+ |> Map.put("inReplyToStatusId", replied_to_
activity
.id)
else
object
|> Map.put("inReplyTo", inReplyTo)