On 8/31/09, Michal Brzozowski <[email protected]> wrote:
> 2009/8/31 Sebastian Krzyszkowiak <[email protected]>
>
>
>> -
>>    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
[email protected]
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to