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.
This commit is contained in:
Simon Redman 2019-10-23 01:09:54 +00:00
parent b407571ef1
commit 8a908e5c69

View file

@ -134,8 +134,8 @@ bool ContactsPlugin::handleResponseUIDsTimestamps(const NetworkPacket& np)
QStringList parts = line.split(QLatin1Char(':'));
QString timestamp = parts[1];
qint32 remoteTimestamp = np.get<qint32>(ID);
qint32 localTimestamp = timestamp.toInt();
qint64 remoteTimestamp = np.get<qint64>(ID);
qint64 localTimestamp = timestamp.toLongLong();
if (!(localTimestamp == remoteTimestamp)) {
uIDsToUpdate.push_back(ID);