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",
"to" => [discussion.actor.followers_url],
"to" => [discussion.actor.members_url],
"cc" => [],
"name" => discussion.title,
"content" => discussion.last_comment.text,