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 c934889b58
commit 0b6d21fe7a
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 [