Fix editing a group discussion

Make sure media is preloaded

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-02-26 14:04:10 +01:00
parent fa4e7e090b
commit 15eae2b070
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -43,7 +43,8 @@ defmodule Mobilizon.Discussions do
:replies, :replies,
:tags, :tags,
:mentions, :mentions,
:discussion :discussion,
:media
] ]
@discussion_preloads [ @discussion_preloads [