Skip to content

Commit

Permalink
Merge branch 'jb50799-google-people-api' into 'master'
Browse files Browse the repository at this point in the history
[buteo-sync-plugins-social] Update Contacts plugin to use Google People API. JB#50799

See merge request mer-core/buteo-sync-plugins-social!86
  • Loading branch information
blam committed Feb 22, 2021
2 parents b6f3b38 + a5309ea commit a0f8626
Show file tree
Hide file tree
Showing 12 changed files with 3,083 additions and 2,531 deletions.
8 changes: 4 additions & 4 deletions src/google/google-contacts/google-contacts.pri
Expand Up @@ -4,14 +4,14 @@ QT += gui

SOURCES += \
$$PWD/googletwowaycontactsyncadaptor.cpp \
$$PWD/googlecontactstream.cpp \
$$PWD/googlecontactatom.cpp \
$$PWD/googlepeopleapi.cpp \
$$PWD/googlepeoplejson.cpp \
$$PWD/googlecontactimagedownloader.cpp

HEADERS += \
$$PWD/googletwowaycontactsyncadaptor.h \
$$PWD/googlecontactstream.h \
$$PWD/googlecontactatom.h \
$$PWD/googlepeopleapi.h \
$$PWD/googlepeoplejson.h \
$$PWD/googlecontactimagedownloader.h

INCLUDEPATH += $$PWD
Expand Down
210 changes: 0 additions & 210 deletions src/google/google-contacts/googlecontactatom.cpp

This file was deleted.

139 changes: 0 additions & 139 deletions src/google/google-contacts/googlecontactatom.h

This file was deleted.

Expand Up @@ -45,7 +45,6 @@ QNetworkReply * GoogleContactImageDownloader::createReply(const QString &url,

QString accessToken = metadata.value(IMAGE_DOWNLOADER_TOKEN_KEY).toString();
QNetworkRequest request(url);
request.setRawHeader("GData-Version", "3.0");
request.setRawHeader(QString(QLatin1String("Authorization")).toUtf8(),
QString(QLatin1String("Bearer ") + accessToken).toUtf8());
return d->networkAccessManager->get(request);
Expand Down

0 comments on commit a0f8626

Please sign in to comment.