[Bug 27166] New: Gabble MailNotification: Unread count is maxed to 30

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 18 16:12:02 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27166

           Summary: Gabble MailNotification: Unread count is maxed to 30
           Product: Telepathy
           Version: git master
          Platform: All
               URL: http://git.collabora.co.uk/?p=user/nicolas/telepathy-
                    gabble.git;a=commit;h=e817d77310d94c5e1aec42a848eacededd
                    82f01c
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: nicolas.dufresne at collabora.co.uk


It seems that the unread count never go higher then 30. This is due to the
count being based on the number of mail description received. To reduce
network, GMail server limits this number to 30. But the real number can be
retrieved from the total-matched attribute of mailbox XML node.

This patch fixes the problem:

http://git.collabora.co.uk/?p=user/nicolas/telepathy-gabble.git;a=blobdiff;f=src/conn-mail-notif.c;h=8ba031873c7507506578bf5939a21c777b88570a;hp=072c693debc0c04d9a1898fe20f229948c8105d3;hb=e817d77310d94c5e1aec42a848eacededd82f01c;hpb=1af8f89cc4833a0c553f693a2dd691ffccc7f694


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list