Merge branch 'group-discussions' into 'master'

Fixes discussions being sent to followers instead of members

Closes #681

See merge request framasoft/mobilizon!894
This commit is contained in:
Thomas Citharel 2021-04-16 14:38:41 +00:00
commit 30c81ee3a8

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,