Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    ICS python 'read' (function called upon change of ReadState) gone?

    Kopano Groupware Core
    2
    2
    166
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • marlemion
      marlemion last edited by

      Hi,

      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.

      1 Reply Last reply Reply Quote 0
      • jelly
        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post