[Kde-pim] bug in urgent property of kmmessage

Stefan Geuns bitrain at gmail.com
Wed Dec 24 09:14:17 GMT 2008


Hi,

I think that there is a small bug in the implementation of the isUrgent function in KMMessage. 
The current implementation only checks for x-priority == 2, but sometimes I receive messages with x-priority == 1 so the message is not flagged as urgent while it should have been. 
Is there a reason that only 2 is checked or is it just a bug?

Attached is a (one-liner) patch that also checks for x-priority == 1.

Regards,

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x_piority_header.diff
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20081224/5af5c2d0/attachment.bin>
-------------- next part --------------
_______________________________________________
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