Commit 8a908e5c authored by Simon Redman's avatar Simon Redman

Correct error interpreting vcard timestamp size

This requires an upgrade to the Android app to be useful but won't make the situation any worse for now.
parent b407571e
...@@ -134,8 +134,8 @@ bool ContactsPlugin::handleResponseUIDsTimestamps(const NetworkPacket& np) ...@@ -134,8 +134,8 @@ bool ContactsPlugin::handleResponseUIDsTimestamps(const NetworkPacket& np)
QStringList parts = line.split(QLatin1Char(':')); QStringList parts = line.split(QLatin1Char(':'));
QString timestamp = parts[1]; QString timestamp = parts[1];
qint32 remoteTimestamp = np.get<qint32>(ID); qint64 remoteTimestamp = np.get<qint64>(ID);
qint32 localTimestamp = timestamp.toInt(); qint64 localTimestamp = timestamp.toLongLong();
if (!(localTimestamp == remoteTimestamp)) { if (!(localTimestamp == remoteTimestamp)) {
uIDsToUpdate.push_back(ID); uIDsToUpdate.push_back(ID);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment