[Pidgin] #2678: Total count of unseen messages

Pidgin trac at pidgin.im
Wed Jan 9 21:29:41 EST 2008

#2678: Total count of unseen messages
  Reporter:  BOSS         |       Owner:                       
      Type:  enhancement  |      Status:  new                  
  Priority:  minor        |   Milestone:                       
 Component:  libpurple    |     Version:  2.1.0                
Resolution:               |    Keywords:  count unseen messages
   Pending:  0            |  
Comment (by shreevatsa):

 This count isn't kept by libpurple itself, but both Pidgin and Finch set

 For any conversation `conv`, you can get its unseen count with:
 {{{ unread = purple.PurpleConversationGetData(conv, "unseen-count") }}}

 (Replace `purple` with whatever. If you want to sum over all
 conversations; it's trivial to do it in your language.)

 Note that "unseen" is a property of the UI (Finch thinks a message is
 unread iff it came in a conversation that was not the active "window" of

Ticket URL: <http://developer.pidgin.im/ticket/2678#comment:1>
Pidgin <http://pidgin.im>

More information about the Tracker mailing list