[Kde-pim] Review Request: Convert IMAP flags to internal Akonadi flags in the IMAP resource.

Leo Franchi lfranchi at kde.org
Mon Jul 26 15:51:20 BST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/4760/
-----------------------------------------------------------

(Updated 2010-07-26 14:51:19.827724)


Review request for KDE PIM and Kevin Ottens.


Changes
-------

Somehow lost this in a recent change... unbreak.


Summary
-------

As a result of the recent Akonadi server changes that have made the akonadi server case-sensitive for flags, the decision was made to store flags as all-uppercase. However, the flags from imap servers are not upper-cased, they are simply capitalized. This results in collection statistics always being incorrect (listing all items as unread).

After discussion with Tobias, a solution was proposed to do a mapping of KImap flags <--> Akonadi flags in the imap resource, as that is the interface between KImap and Akonadi. For now this just includes 4 standard imap server flags. I don't know if this is the best way to do this, but figured i'd throw it out there and start a discussion.

 Comments are appreciated :)


Diffs (updated)
-----

  /branches/KDE/4.5/kdepim/runtime/resources/imap/imapresource.h 1154848 
  /branches/KDE/4.5/kdepim/runtime/resources/imap/imapresource.cpp 1154848 

Diff: http://reviewboard.kde.org/r/4760/diff


Testing
-------


Thanks,

Leo

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list