opimd: unified api for sent/received

arne anka openmoko at ginguppin.de
Tue Sep 8 11:04:16 CEST 2009


before filing a bug report, i'd like to ask here ...
last weekend i patched zhone to enable opimd (only listing of messages so  
far). while working with it i saw that incoming and outgoing messages have  
different fiels (sender vs receiver, no timestamp for sent messages, ...),  
which makes handling imo unnecessary complex.
i didn't yet check calls, but i guess it's the same there, too.
since the messages are stored in the very same table with the same  
columns, i don't really see why the prepared results should differ.

imo both types should have the same set of attributes -- direction:in or  
direction:out are sufficient to distinguish and handle different if  
necessary.
is the missing timestamp for sent messages by purpose or caused by the  
transition from zhone-sent to opimd?



More information about the community mailing list