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:
parent
b407571ef1
commit
8a908e5c69
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue