Skip to content

Commit

Permalink
[buteo-sync-plugins-social] Improve Twitter notification sync. Contri…
Browse files Browse the repository at this point in the history
…butes to JB#35622

Fix typo in previous commit.

Contributes to JB#35622
  • Loading branch information
Chris Adams committed Sep 1, 2016
1 parent da2760e commit 4ee5625
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -260,7 +260,7 @@ void TwitterNotificationSyncAdaptor::finishedMentionsHandler()
? m_accountSyncProfile->key(Buteo::KEY_SYNC_SINCE_DAYS_PAST, QStringLiteral("7")).toInt()
: 7;
if (!createdTime.isValid()) {
SOCIALD_LOG_WARNING("ignoring Twitter mention due to invalid createdTime parsed from:" << tweet.value(QLatin1String("created_at")).toString());
SOCIALD_LOG_INFO("ignoring Twitter mention due to invalid createdTime parsed from:" << tweet.value(QLatin1String("created_at")).toString());
} else if (m_lastSyncTimestamp.isValid() && createdTime < m_lastSyncTimestamp) {
SOCIALD_LOG_DEBUG("mention notification for account" << accountId << "is older than last sync:" << createdTime << ":" << text);
break; // all subsequent notifications will be even older.
Expand Down

0 comments on commit 4ee5625

Please sign in to comment.