Fixes discussions being sent to followers instead of members

Closes #681

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-04-16 16:01:10 +02:00
parent 77200ea587
commit 53fd77f5da
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -31,7 +31,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Discussion do
%{ %{
"type" => "Note", "type" => "Note",
"to" => [discussion.actor.followers_url], "to" => [discussion.actor.members_url],
"cc" => [], "cc" => [],
"name" => discussion.title, "name" => discussion.title,
"content" => discussion.last_comment.text, "content" => discussion.last_comment.text,