🐛 Add priority to chat notification

This commit is contained in:
LittleSheep 2025-05-31 02:46:35 +08:00
parent a0cd779f85
commit 6670c69fda
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,3 @@
using DysonNetwork.Sphere.Account;
using DysonNetwork.Sphere.Storage;
using Microsoft.EntityFrameworkCore;
using NodaTime;

View File

@ -84,7 +84,8 @@ public class ChatService(
["images"] = message.Attachments
.Where(a => a.MimeType != null && a.MimeType.StartsWith("image"))
.Select(a => a.Id).ToList()
}
},
Priority = 10,
};
List<Account.Account> accountsToNotify = [];