mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
fix: check member banner permissions on direct queries
This commit is contained in:
parent
43bc220a3d
commit
0572725be1
1 changed files with 2 additions and 0 deletions
|
|
@ -254,6 +254,8 @@ public class MemberEdit
|
||||||
|
|
||||||
async Task ShowBannerImage()
|
async Task ShowBannerImage()
|
||||||
{
|
{
|
||||||
|
ctx.CheckSystemPrivacy(target.System, target.BannerPrivacy);
|
||||||
|
|
||||||
if ((target.BannerImage?.Trim() ?? "").Length > 0)
|
if ((target.BannerImage?.Trim() ?? "").Length > 0)
|
||||||
switch (ctx.MatchFormat())
|
switch (ctx.MatchFormat())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue