🐛 Add priority to chat notification
This commit is contained in:
parent
a0cd779f85
commit
6670c69fda
@ -1,4 +1,3 @@
|
|||||||
using DysonNetwork.Sphere.Account;
|
|
||||||
using DysonNetwork.Sphere.Storage;
|
using DysonNetwork.Sphere.Storage;
|
||||||
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore;
|
||||||
using NodaTime;
|
using NodaTime;
|
||||||
|
@ -84,7 +84,8 @@ public class ChatService(
|
|||||||
["images"] = message.Attachments
|
["images"] = message.Attachments
|
||||||
.Where(a => a.MimeType != null && a.MimeType.StartsWith("image"))
|
.Where(a => a.MimeType != null && a.MimeType.StartsWith("image"))
|
||||||
.Select(a => a.Id).ToList()
|
.Select(a => a.Id).ToList()
|
||||||
}
|
},
|
||||||
|
Priority = 10,
|
||||||
};
|
};
|
||||||
|
|
||||||
List<Account.Account> accountsToNotify = [];
|
List<Account.Account> accountsToNotify = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user