On 8/31/09, Michal Brzozowski <ruso...@poczta.fm> wrote:
> 2009/8/31 Sebastian Krzyszkowiak <seba.d...@gmail.com>
>
>
>> -
>>    while: NewMissedCalls()
>>    actions: SetLed("gta02_aux_red", "blink")
>> -
>>    while: UnreadMessages()
>>    actions: SetLed("gta02_aux_red", "blink")
>> -
>>
>> In rules.yaml. Of course instead of SetLed you can use other commands :)
>>
>
> This may be a stupid question, but how does opimd know that the user has or
> hasn't read a message?

By MessageRead field. When it's 1, it's read, when it's 0 it's unread.
Look how opimd-notifier works.

The same for calls, but with New field.

-- 
Sebastian Krzyszkowiak
dos

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to