Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3499
### Removed
-## 2.4.0 - 2021-08-xx
+## 2.4.1
+
+### Fixed
+- MastodonAPI: Stream out Create activities
+
+## 2.4.0 - 2021-08-08
### Changed
collection, and so on.
"""
alias Pleroma.Activity
- alias Pleroma.Activity.Ir.Topics
alias Pleroma.Chat
alias Pleroma.Chat.MessageReference
alias Pleroma.FollowingRelationship
meta
|> add_notifications(notifications)
+ ap_streamer().stream_out(activity)
+
{:ok, activity, meta}
else
e -> Repo.rollback(e)
if !User.is_internal_user?(user) do
Notification.create_notifications(object)
- object
- |> Topics.get_activity_topics()
- |> Streamer.stream(object)
+ ap_streamer().stream_out(object)
end
{:ok, object, meta}