Skip to content

Commit

Permalink
initialization Delayed Delivery flag in the Message::FromStanza function
Browse files Browse the repository at this point in the history
  • Loading branch information
liuch committed Feb 2, 2014
1 parent cafae6e commit 37a5e1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xmpp/xmpp-im/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1829,10 +1829,12 @@ bool Message::fromStanza(const Stanza &s, bool useTimeZoneOffset, int timeZoneOf
stamp.setTimeSpec(Qt::UTC);
d->timeStamp = stamp.toLocalTime();
}
d->timeStampSend = true;
d->spooled = true;
}
else {
d->timeStamp = QDateTime::currentDateTime();
d->timeStampSend = false;
d->spooled = false;
}

Expand Down

0 comments on commit 37a5e1c

Please sign in to comment.