Author Topic: lotusnotify does not remember already read messages  (Read 1862 times)

0 Members and 1 Guest are viewing this topic.

Offline pepinlebrefTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Country: fr
  • Thanked: 2 times
  • Karma: 0
  • Pepin le Bref, father of Charlemagne!
  • Version Info
Hello,
Each time I start MNG, I get a popup for ALL messages in my database.
I have the same options than in MIM:
- "show again": not pressed
- ".. but only": disabled unpressed
- "show error": pressed
- "remember newest": pressed

I think the last one should work.
What I can see: in the database, the "LNNewestID" key does not exist in Settings/LotusNotify, could this be the reason?
 

Offline pepinlebrefTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Country: fr
  • Thanked: 2 times
  • Karma: 0
  • Pepin le Bref, father of Charlemagne!
  • Version Info
Re: lotusnotify does not remember already read messages
« Reply #1 on: 08 04 2014, 19:29:30 »
Ok,

I remember having modified MIM version of this plugin to always save latest id in database:

Could you add in line 709 of LotusNotified.cpp:
Code: [Select]
// remember newest id
if(settingNewest&&(noteID > settingNewestID) )
db_set_dw(NULL, PLUGINNAME, "LNNewestID", settingNewestID=noteID);
This will ensure a popup will never show again...
 

Offline Wishmaster

Re: lotusnotify does not remember already read messages
« Reply #2 on: 17 04 2014, 13:04:09 »
It is currently marked as read in line 331:
Code: [Select]
        if(settingNewest && (pid->id > settingNewestID) ){
                db_set_dw(NULL, PLUGINNAME, "LNNewestID", settingNewestID=pid->id);
        }
So it is marked after you click the popup.

You want it to be always remembered, even if you dont take any action?  ???
 

Offline pepinlebrefTopic starter

  • Jr. Member
  • **
  • Posts: 77
  • Country: fr
  • Thanked: 2 times
  • Karma: 0
  • Pepin le Bref, father of Charlemagne!
  • Version Info
Re: lotusnotify does not remember already read messages
« Reply #3 on: 17 04 2014, 15:06:48 »
You want it to be always remembered, even if you dont take any action?  ???
Exactly, this is what I would like.
I can understand this as an enhancement and may need an additional setting...