Move redirect (again)

This commit is contained in:
kieran
2024-10-05 21:24:20 +01:00
parent 3848f263f3
commit 001f13a804
5 changed files with 12 additions and 18 deletions

View File

@@ -53,7 +53,8 @@ public sealed class FileInfoManager
Payment = meta.Paywall,
Bandwidth = bandwidth,
Uploader = user?.Flags.HasFlag(UserFlags.PublicProfile) == true || withEditSecret ? user?.ToApiUser(false) : null,
VirusScan = virusScan?.ToVirusStatus()
VirusScan = virusScan?.ToVirusStatus(),
IsNostr = user?.AuthType is UserAuthType.Nostr
};
}