mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
feat: don't hide information from own system when directly requested
in lists, pk;m <ref> <prop>, etc
This commit is contained in:
parent
56e266190f
commit
9926bbbd8b
10 changed files with 38 additions and 31 deletions
|
|
@ -55,7 +55,7 @@ public class Random
|
|||
|
||||
public async Task GroupMember(Context ctx, PKGroup group)
|
||||
{
|
||||
var opts = ctx.ParseMemberListOptions(ctx.LookupContextFor(group.System));
|
||||
var opts = ctx.ParseMemberListOptions(ctx.DirectLookupContextFor(group.System));
|
||||
opts.GroupFilter = group.Id;
|
||||
|
||||
await using var conn = await _db.Obtain();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue