ICS python 'read' (function called upon change of ReadState) gone?
marlemion last edited by
according to your documentation: https://documentation.kopano.io/kopano_python_kopano/synchronization.html#ics
the ICS Importer module should have a ‘read’ function, which is called upon change of a ReadState of a message.
I call my Importer via folder.sync(Importer(), state) and successfully can access the functions ‘update’ and ‘delete’. However, ‘read’ does nothing.
When looking into the ics.py module, I can see definitions for ‘update’ and ‘delete’, but not for ‘read’. It further seems that there has been quite some work on the ics module in the last few months.
Is there still the possibility to react on read state changes with ICS and if so, how? I am currently using 8.7.5 for these tests.
Thanks in advance.
jelly last edited by
Read flag changes are only detected if the flags are changed from the folder viewpoint, for example:
user.inbox.mapiobj.SetReadFlags([codecs.decode(item.entryid, 'hex')], 0, None, CLEAR_READ_FLAG)
I’m not sure how you can receive item.read = False changes from ICS.