~tiagosh/telepathy-ofono/mms-send-fixes

« back to all changes in this revision

Viewing changes to ofonotextchannel.cpp

Ignore received timestamp and use system date/time instead Fixes: 1331570

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
    Tp::MessagePart header;
310
310
    header["message-token"] = QDBusVariant(id);
311
311
    header["message-sender"] = QDBusVariant(handle);
312
 
    header["message-received"] = QDBusVariant(QDateTime::fromString(properties["Date"].toString(), Qt::ISODate).toTime_t());
 
312
    header["message-received"] = QDBusVariant(QDateTime::currentDateTimeUtc().toTime_t());
313
313
    header["message-type"] = QDBusVariant(Tp::DeliveryStatusDelivered);
314
314
    if (!subject.isEmpty())
315
315
    {