[fso] PIM.Messages

Michal Brzozowski rusolis at poczta.fm
Mon Jul 27 11:58:48 CEST 2009


2009/7/27 Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
>
> I didn't work at folders yet. To differ between incoming and sent,
> just query for {'Direction':'in'} or {'Direction':'out'}
>
> NewMessage notifies about every message added to database. It's
> emitted at boot when reading messages from db, and it's emmited after
> adding message by Add method. It's also emitted on incoming message.
>
> IncomingMessage notifiers only about new incoming message.
>
> Add just adds message to default backend. opimd can't send messages
> (and I don't know if it should, but that's topic to discuss by FSO
> guys). So use Add to store sent messages or drafts.
>

 If I send a message using the GSM.SMS service, will it automatically be
inserted to the database (with 'Direction' = 'out') and will I be notified
with the NewMessage signal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/devel/attachments/20090727/2fa99012/attachment.htm 


More information about the devel mailing list