mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
chore: lint
This commit is contained in:
parent
9153c26425
commit
b2bfe93013
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ public class Autoproxy
|
|||
AutoproxyMode.Front => fronters.Count > 0 ? fronters[0] : null,
|
||||
AutoproxyMode.Member when settings.AutoproxyMember.HasValue => await ctx.Repository.GetMember(settings.AutoproxyMember.Value),
|
||||
AutoproxyMode.Latch when settings.AutoproxyMember.HasValue && ctx.Config.LatchTimeout == 0 => await ctx.Repository.GetMember(settings.AutoproxyMember.Value),
|
||||
AutoproxyMode.Latch when settings.AutoproxyMember.HasValue =>
|
||||
AutoproxyMode.Latch when settings.AutoproxyMember.HasValue =>
|
||||
_clock.GetCurrentInstant() - settings.LastLatchTimestamp > latchTimeout
|
||||
? null
|
||||
: await ctx.Repository.GetMember(settings.AutoproxyMember.Value),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue