summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/Services/google_service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CloudFile/src/Services/google_service.cpp')
-rw-r--r--plugins/CloudFile/src/Services/google_service.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp
index a15056b884..3877506b0f 100644
--- a/plugins/CloudFile/src/Services/google_service.cpp
+++ b/plugins/CloudFile/src/Services/google_service.cpp
@@ -246,6 +246,7 @@ UINT CGDriveService::Upload(FileTransferParam *ftp)
CreateSharedLink(folderId, link);
ftp->AppendFormatData(L"%s\r\n", ptrW(mir_utf8decodeW(link)));
+ ftp->AddSharedLink(link);
}
ftp->FirstFile();
@@ -290,6 +291,7 @@ UINT CGDriveService::Upload(FileTransferParam *ftp)
char link[MAX_PATH];
CreateSharedLink(fileId, link);
ftp->AppendFormatData(L"%s\r\n", ptrW(mir_utf8decodeW(link)));
+ ftp->AddSharedLink(link);
}
} while (ftp->NextFile());
}