Skip to content

Commit

Permalink
代码整理
Browse files Browse the repository at this point in the history
  • Loading branch information
GardenHamster committed Jun 18, 2024
1 parent fe616ec commit 02a4eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public async Task SearchSource(GroupQuoteCommand command)
DateTime startDateTime = DateTime.Now;
CoolingCache.SetHanding(command.GroupId, command.MemberId);//请求处理中
long quoteId = command.GetQuoteMessageId();
List<ImageRecordPO> imgRecords = quoteId != 0 ? recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId) : new();
List<ImageRecordPO> imgRecords = quoteId == 0 ? new() : recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId);
List<string> imgList = imgRecords.Select(o => o.HttpUrl).ToList();
if (imgList.Count == 0)
{
Expand Down

0 comments on commit 02a4eb3

Please sign in to comment.