Fix #968: messages app should not pop up with old messages

master
Jeroen Peters 2021-12-08 02:06:15 +01:00
parent 456c4f4019
commit cf604588bf
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ E.on('ANCS',msg=>{
var msg = Bangle.ancsMessageQueue[0]; var msg = Bangle.ancsMessageQueue[0];
NRF.ancsGetNotificationInfo( msg.uid ).then( info => { NRF.ancsGetNotificationInfo( msg.uid ).then( info => {
if(msg.preExisting){ if(msg.preExisting === true){
info.new = false; info.new = false;
} else { } else {
info.new = true; info.new = true;