showing even if psa in memory is sticky

This commit is contained in:
Miodec 2022-01-14 19:54:54 +01:00
parent 6c93ed9c5a
commit 6bc4da702a

View file

@ -28,7 +28,7 @@ export async function show() {
}
let localmemory = getMemory();
latest.forEach((psa) => {
if (localmemory.includes(psa._id)) return;
if (localmemory.includes(psa._id) && psa.sticky === false) return;
Notifications.addBanner(
psa.message,
psa.level,