Fix a few Bugs in service.c
PATCH 8/9 Fix a few Bugs in service.c
This commit fixes a few bugs:
- Makes sure "sent" has an accurate time (it currently only has a time of the start of epoch time)
- Allows "Draft" to go to "Sent" on the dbus
- Allows the time to be preserved on sent and recieved messages if mmsd is closed and opened
(cherry picked from commit f8597b2f6a57f96fa6f7ac8e8c8a4cf550f9d2e9)
--- src/mmsutil.h | 2 ++ src/service.c | 60 +++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 48 insertions(+), 14 deletions(-)
src/mmsutil.h +2 -0
@@ -120,12 +120,14 @@ struct mms_retrieve_conf {char *priority;char *msgid;time_t date; +char *datestamp; };struct mms_send_req {enum mms_message_status status;char *to;time_t date; +char *datestamp;char *content_type;gboolean dr; };
src/service.c +46 -14
169 lines not on this page · raw message
Signature · 1 line
2.30.0