Merge branch 'fix/frontend-cli-docs' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / side_effects.ex
index d421ca7af59c713f6cba366bbecfbbd273f91d27..0fff5faf2d4a138978f6ff8c85097574e7f0320d 100644 (file)
@@ -306,6 +306,7 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
 
       streamables =
         [[actor, recipient], [recipient, actor]]
+        |> Enum.uniq()
         |> Enum.map(fn [user, other_user] ->
           if user.local do
             {:ok, chat} = Chat.bump_or_create(user.id, other_user.ap_id)