fix: check member banner permissions on direct queries

This commit is contained in:
rladenson 2025-02-10 19:48:27 -07:00
parent 43bc220a3d
commit 0572725be1

View file

@ -254,6 +254,8 @@ public class MemberEdit
async Task ShowBannerImage()
{
ctx.CheckSystemPrivacy(target.System, target.BannerPrivacy);
if ((target.BannerImage?.Trim() ?? "").Length > 0)
switch (ctx.MatchFormat())
{