Perl API messages waiting
pidgin at unreliablesource.net
Tue Jul 24 14:24:32 EDT 2007
On Tue, Jul 24, 2007 at 09:13:03AM +0100, Andy Brown wrote:
> Hi guys,
> I'm trying to find how to trap when a new message is waiting and/or
> number of current unread messages.
> The plugin I'm working on flashes an LED when unread messages are found,
> and it should then turn the LED off when there are no longer any waiting
> (mirroring the flashing status icon effectively), but I cannot spot the
> right procedural tie-in.
You want to look at the signals documentation to be told when messages
come in. To be told that messages have been read is harder. Look at how
the Message Notification plugin does it.
More information about the Devel